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: StringTuple Fields of Boolean
0: boolTuple Fields of Vector3
0: Vector3Tuple Fields of Vector2
0: Vector2Tuple Fields of UDim2
0: UDim2Tuple Fields of UDim
0: UDimTuple Fields of Color3
0: Color3Tuple Fields of BrickColor
0: BrickColorTuple Fields of CFrame
0: CFrameTuple Fields of Int64
0: i64Tuple Fields of Int32
0: i32Tuple Fields of Float
0: f32Tuple Fields of Double
0: f64Tuple 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: RayTuple Fields of Array
0: Array<U>Tuple Fields of Dictionary
0: DictionaryTrait 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