pub enum TextAlignValue {
Show 13 variants
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Start,
Justify,
End,
Left,
Right,
Center,
MatchParent,
JustifyAll,
}Variants§
Initial
Inherit
Revert
RevertLayer
Unset
Start
Justify
End
Left
Right
Center
MatchParent
JustifyAll
Implementations§
Source§impl TextAlignValue
impl TextAlignValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is TextAlignValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is TextAlignValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is TextAlignValue::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 TextAlignValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is TextAlignValue::Unset otherwise false
Sourcepub const fn is_start(&self) -> bool
pub const fn is_start(&self) -> bool
Returns true if the enum is TextAlignValue::Start otherwise false
Sourcepub const fn is_justify(&self) -> bool
pub const fn is_justify(&self) -> bool
Returns true if the enum is TextAlignValue::Justify otherwise false
Sourcepub const fn is_end(&self) -> bool
pub const fn is_end(&self) -> bool
Returns true if the enum is TextAlignValue::End otherwise false
Sourcepub const fn is_left(&self) -> bool
pub const fn is_left(&self) -> bool
Returns true if the enum is TextAlignValue::Left otherwise false
Sourcepub const fn is_right(&self) -> bool
pub const fn is_right(&self) -> bool
Returns true if the enum is TextAlignValue::Right otherwise false
Sourcepub const fn is_center(&self) -> bool
pub const fn is_center(&self) -> bool
Returns true if the enum is TextAlignValue::Center otherwise false
Sourcepub const fn is_match_parent(&self) -> bool
pub const fn is_match_parent(&self) -> bool
Returns true if the enum is TextAlignValue::MatchParent otherwise false
Sourcepub const fn is_justify_all(&self) -> bool
pub const fn is_justify_all(&self) -> bool
Returns true if the enum is TextAlignValue::JustifyAll otherwise false
Trait Implementations§
Source§impl Clone for TextAlignValue
impl Clone for TextAlignValue
Source§fn clone(&self) -> TextAlignValue
fn clone(&self) -> TextAlignValue
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more