pub enum ListStylePositionValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Inside,
Outside,
}Variants§
Implementations§
Source§impl ListStylePositionValue
impl ListStylePositionValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is ListStylePositionValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is ListStylePositionValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is ListStylePositionValue::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 ListStylePositionValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is ListStylePositionValue::Unset otherwise false
Sourcepub const fn is_inside(&self) -> bool
pub const fn is_inside(&self) -> bool
Returns true if the enum is ListStylePositionValue::Inside otherwise false
Sourcepub const fn is_outside(&self) -> bool
pub const fn is_outside(&self) -> bool
Returns true if the enum is ListStylePositionValue::Outside otherwise false
Trait Implementations§
Source§impl Clone for ListStylePositionValue
impl Clone for ListStylePositionValue
Source§fn clone(&self) -> ListStylePositionValue
fn clone(&self) -> ListStylePositionValue
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 ListStylePositionValue
impl Debug for ListStylePositionValue
Source§impl Display for ListStylePositionValue
impl Display for ListStylePositionValue
Source§impl PartialEq for ListStylePositionValue
impl PartialEq for ListStylePositionValue
impl StructuralPartialEq for ListStylePositionValue
impl UnitDataType<ListStylePosition<ListStylePositionValue>> for ListStylePositionValue
Auto Trait Implementations§
impl Freeze for ListStylePositionValue
impl RefUnwindSafe for ListStylePositionValue
impl Send for ListStylePositionValue
impl Sync for ListStylePositionValue
impl Unpin for ListStylePositionValue
impl UnwindSafe for ListStylePositionValue
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