pub enum VerticalAlignValue {
Show 14 variants
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Baseline,
Sub,
Super,
TextTop,
TextBottom,
Middle,
Top,
Bottom,
LengthPercentage(LengthPercentage),
}Variants§
Initial
Inherit
Revert
RevertLayer
Unset
Baseline
Sub
Super
TextTop
TextBottom
Middle
Top
Bottom
LengthPercentage(LengthPercentage)
Implementations§
Source§impl VerticalAlignValue
impl VerticalAlignValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is VerticalAlignValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is VerticalAlignValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is VerticalAlignValue::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 VerticalAlignValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is VerticalAlignValue::Unset otherwise false
Sourcepub const fn is_baseline(&self) -> bool
pub const fn is_baseline(&self) -> bool
Returns true if the enum is VerticalAlignValue::Baseline otherwise false
Sourcepub const fn is_sub(&self) -> bool
pub const fn is_sub(&self) -> bool
Returns true if the enum is VerticalAlignValue::Sub otherwise false
Sourcepub const fn is_super(&self) -> bool
pub const fn is_super(&self) -> bool
Returns true if the enum is VerticalAlignValue::Super otherwise false
Sourcepub const fn is_text_top(&self) -> bool
pub const fn is_text_top(&self) -> bool
Returns true if the enum is VerticalAlignValue::TextTop otherwise false
Sourcepub const fn is_text_bottom(&self) -> bool
pub const fn is_text_bottom(&self) -> bool
Returns true if the enum is VerticalAlignValue::TextBottom otherwise false
Sourcepub const fn is_middle(&self) -> bool
pub const fn is_middle(&self) -> bool
Returns true if the enum is VerticalAlignValue::Middle otherwise false
Sourcepub const fn is_top(&self) -> bool
pub const fn is_top(&self) -> bool
Returns true if the enum is VerticalAlignValue::Top otherwise false
Sourcepub const fn is_bottom(&self) -> bool
pub const fn is_bottom(&self) -> bool
Returns true if the enum is VerticalAlignValue::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 VerticalAlignValue::LengthPercentage otherwise false
Trait Implementations§
Source§impl Clone for VerticalAlignValue
impl Clone for VerticalAlignValue
Source§fn clone(&self) -> VerticalAlignValue
fn clone(&self) -> VerticalAlignValue
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more