pub enum StyleExpressionTypeKind {
Value,
Number,
String,
Boolean,
Color,
Object,
Formatted,
Image,
Padding,
VariableAnchorOffsetCollection,
Array,
Unknown(u32),
}Expand description
The type of a style expression’s result, or of the items of an array result.
See mln_style_expression_type_kind in the
C API reference.
Variants§
Value
Any type.
Number
String
Boolean
Color
Object
Formatted
Image
Padding
VariableAnchorOffsetCollection
Array
Unknown(u32)
Implementations§
Trait Implementations§
Source§impl Clone for StyleExpressionTypeKind
impl Clone for StyleExpressionTypeKind
Source§fn clone(&self) -> StyleExpressionTypeKind
fn clone(&self) -> StyleExpressionTypeKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StyleExpressionTypeKind
Source§impl Debug for StyleExpressionTypeKind
impl Debug for StyleExpressionTypeKind
Source§impl Default for StyleExpressionTypeKind
impl Default for StyleExpressionTypeKind
impl Eq for StyleExpressionTypeKind
Source§impl Hash for StyleExpressionTypeKind
impl Hash for StyleExpressionTypeKind
Source§impl PartialEq for StyleExpressionTypeKind
impl PartialEq for StyleExpressionTypeKind
impl StructuralPartialEq for StyleExpressionTypeKind
Auto Trait Implementations§
impl Freeze for StyleExpressionTypeKind
impl RefUnwindSafe for StyleExpressionTypeKind
impl Send for StyleExpressionTypeKind
impl Sync for StyleExpressionTypeKind
impl Unpin for StyleExpressionTypeKind
impl UnsafeUnpin for StyleExpressionTypeKind
impl UnwindSafe for StyleExpressionTypeKind
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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