Enum roblox::data_type::Variant [−][src]
pub enum Variant<'a, T: Default, U = Variant<'a, T, String>> {}Show 21 variants
String(String), Boolean(bool), Vector3(Vector3), Vector2(Vector2), UDim2(UDim2), UDim(UDim), Color3(Color3), BrickColor(BrickColor), CFrame(CFrame), Int64(i64), Int32(i32), Float(f32), Double(f64), ColorSequence(ColorSequence), NumberSequence(NumberSequence), Instance(Instance<'a>), RBXScriptSignal(RBXScriptSignal<T>), RBXScriptConnection(RBXScriptConnection), Ray(Ray), Array(Array<U>), Dictionary(Dictionary),
Expand description
Any value
Variants
Tuple Fields of String
0: String
Tuple Fields of Boolean
0: bool
Tuple Fields of Vector3
0: Vector3
Tuple Fields of Vector2
0: Vector2
Tuple Fields of UDim2
0: UDim2
Tuple Fields of UDim
0: UDim
Tuple Fields of Color3
0: Color3
Tuple Fields of BrickColor
0: BrickColor
Tuple Fields of CFrame
0: CFrame
Tuple Fields of Int64
0: i64
Tuple Fields of Int32
0: i32
Tuple Fields of Float
0: f32
Tuple Fields of Double
0: f64
Tuple Fields of ColorSequence
Tuple Fields of NumberSequence
Tuple Fields of Instance
0: Instance<'a>
Tuple Fields of RBXScriptSignal
0: RBXScriptSignal<T>
Tuple Fields of RBXScriptConnection
Tuple Fields of Ray
0: Ray
Tuple Fields of Array
0: Array<U>
Tuple Fields of Dictionary
0: Dictionary
Trait Implementations
Auto Trait Implementations
impl<'a, T, U> RefUnwindSafe for Variant<'a, T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<'a, T, U> UnwindSafe for Variant<'a, T, U> where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more