pub enum ResizeValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
None,
Both,
Horizontal,
Vertical,
Block,
Inline,
}Variants§
Implementations§
Source§impl ResizeValue
impl ResizeValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is ResizeValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is ResizeValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is ResizeValue::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 ResizeValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is ResizeValue::Unset otherwise false
Sourcepub const fn is_none(&self) -> bool
pub const fn is_none(&self) -> bool
Returns true if the enum is ResizeValue::None otherwise false
Sourcepub const fn is_both(&self) -> bool
pub const fn is_both(&self) -> bool
Returns true if the enum is ResizeValue::Both otherwise false
Sourcepub const fn is_horizontal(&self) -> bool
pub const fn is_horizontal(&self) -> bool
Returns true if the enum is ResizeValue::Horizontal otherwise false
Sourcepub const fn is_vertical(&self) -> bool
pub const fn is_vertical(&self) -> bool
Returns true if the enum is ResizeValue::Vertical otherwise false
Trait Implementations§
Source§impl Clone for ResizeValue
impl Clone for ResizeValue
Source§fn clone(&self) -> ResizeValue
fn clone(&self) -> ResizeValue
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 ResizeValue
impl Debug for ResizeValue
Source§impl Display for ResizeValue
impl Display for ResizeValue
Source§impl PartialEq for ResizeValue
impl PartialEq for ResizeValue
impl StructuralPartialEq for ResizeValue
impl UnitDataType<Resize<ResizeValue>> for ResizeValue
Auto Trait Implementations§
impl Freeze for ResizeValue
impl RefUnwindSafe for ResizeValue
impl Send for ResizeValue
impl Sync for ResizeValue
impl Unpin for ResizeValue
impl UnwindSafe for ResizeValue
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