pub enum DataType {
Show 16 variants
Boolean,
Integer,
Real,
String,
Color,
Vector2,
Matrix3,
BooleanVec,
IntegerVec,
RealVec,
ColorVec,
StringVec,
Vector2Vec,
Matrix3Vec,
RealCurve,
ColorCurve,
}Variants§
Boolean
A boolean value.
Integer
A 64-bit signed integer.
Real
A 64-bit floating-point number.
String
A UTF-8 string.
Color
A 4-component RGBA color.
Vector2
A 2D vector.
Matrix3
A 3×3 transformation matrix.
BooleanVec
A vector of boolean values.
IntegerVec
A vector of integer values.
RealVec
A vector of real values.
ColorVec
A vector of color values.
StringVec
A vector of string values.
Vector2Vec
A vector of 2D vectors.
Matrix3Vec
A vector of matrices.
RealCurve
A real-valued curve (Position → Real).
ColorCurve
A color-valued curve (Position → Color).
Trait Implementations§
impl Copy for DataType
impl Eq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnsafeUnpin for DataType
impl UnwindSafe for DataType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more