pub enum TransformStyleValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Flat,
Preserve3D,
}Variants§
Implementations§
Source§impl TransformStyleValue
impl TransformStyleValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is TransformStyleValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is TransformStyleValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is TransformStyleValue::Revert otherwise false
Sourcepub const fn is_revert_layer(&self) -> bool
pub const fn is_revert_layer(&self) -> bool
Returns true if the enum is TransformStyleValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is TransformStyleValue::Unset otherwise false
Sourcepub const fn is_flat(&self) -> bool
pub const fn is_flat(&self) -> bool
Returns true if the enum is TransformStyleValue::Flat otherwise false
Sourcepub const fn is_preserve_3_d(&self) -> bool
pub const fn is_preserve_3_d(&self) -> bool
Returns true if the enum is TransformStyleValue::Preserve3D otherwise false
Trait Implementations§
Source§impl Clone for TransformStyleValue
impl Clone for TransformStyleValue
Source§fn clone(&self) -> TransformStyleValue
fn clone(&self) -> TransformStyleValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransformStyleValue
impl Debug for TransformStyleValue
Source§impl Display for TransformStyleValue
impl Display for TransformStyleValue
Source§impl PartialEq for TransformStyleValue
impl PartialEq for TransformStyleValue
impl StructuralPartialEq for TransformStyleValue
impl UnitDataType<TransformStyle<TransformStyleValue>> for TransformStyleValue
Auto Trait Implementations§
impl Freeze for TransformStyleValue
impl RefUnwindSafe for TransformStyleValue
impl Send for TransformStyleValue
impl Sync for TransformStyleValue
impl Unpin for TransformStyleValue
impl UnwindSafe for TransformStyleValue
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