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