pub enum TransformOriginValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Left,
Center,
Right,
Top,
Bottom,
LengthPercentage(LengthPercentage),
}Variants§
Initial
Inherit
Revert
RevertLayer
Unset
Left
Center
Right
Top
Bottom
LengthPercentage(LengthPercentage)
Implementations§
Source§impl TransformOriginValue
impl TransformOriginValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is TransformOriginValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is TransformOriginValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is TransformOriginValue::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 TransformOriginValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is TransformOriginValue::Unset otherwise false
Sourcepub const fn is_left(&self) -> bool
pub const fn is_left(&self) -> bool
Returns true if the enum is TransformOriginValue::Left otherwise false
Sourcepub const fn is_center(&self) -> bool
pub const fn is_center(&self) -> bool
Returns true if the enum is TransformOriginValue::Center otherwise false
Sourcepub const fn is_right(&self) -> bool
pub const fn is_right(&self) -> bool
Returns true if the enum is TransformOriginValue::Right otherwise false
Sourcepub const fn is_top(&self) -> bool
pub const fn is_top(&self) -> bool
Returns true if the enum is TransformOriginValue::Top otherwise false
Sourcepub const fn is_bottom(&self) -> bool
pub const fn is_bottom(&self) -> bool
Returns true if the enum is TransformOriginValue::Bottom otherwise false
Sourcepub const fn is_length_percentage(&self) -> bool
pub const fn is_length_percentage(&self) -> bool
Returns true if the enum is TransformOriginValue::LengthPercentage otherwise false
Trait Implementations§
Source§impl Clone for TransformOriginValue
impl Clone for TransformOriginValue
Source§fn clone(&self) -> TransformOriginValue
fn clone(&self) -> TransformOriginValue
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more