pub enum MinHeightValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Auto,
FitContent,
MaxContent,
MinContent,
LengthPercentage(LengthPercentage),
}Variants§
Initial
Inherit
Revert
RevertLayer
Unset
Auto
FitContent
MaxContent
MinContent
LengthPercentage(LengthPercentage)
Implementations§
Source§impl MinHeightValue
impl MinHeightValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is MinHeightValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is MinHeightValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is MinHeightValue::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 MinHeightValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is MinHeightValue::Unset otherwise false
Sourcepub const fn is_auto(&self) -> bool
pub const fn is_auto(&self) -> bool
Returns true if the enum is MinHeightValue::Auto otherwise false
Sourcepub const fn is_fit_content(&self) -> bool
pub const fn is_fit_content(&self) -> bool
Returns true if the enum is MinHeightValue::FitContent otherwise false
Sourcepub const fn is_max_content(&self) -> bool
pub const fn is_max_content(&self) -> bool
Returns true if the enum is MinHeightValue::MaxContent otherwise false
Sourcepub const fn is_min_content(&self) -> bool
pub const fn is_min_content(&self) -> bool
Returns true if the enum is MinHeightValue::MinContent otherwise false
Sourcepub const fn is_length_percentage(&self) -> bool
pub const fn is_length_percentage(&self) -> bool
Returns true if the enum is MinHeightValue::LengthPercentage otherwise false
Trait Implementations§
Source§impl Clone for MinHeightValue
impl Clone for MinHeightValue
Source§fn clone(&self) -> MinHeightValue
fn clone(&self) -> MinHeightValue
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 MinHeightValue
impl Debug for MinHeightValue
Source§impl Display for MinHeightValue
impl Display for MinHeightValue
Source§impl PartialEq for MinHeightValue
impl PartialEq for MinHeightValue
impl StructuralPartialEq for MinHeightValue
impl UnitDataType<MinHeight<MinHeightValue>> for MinHeightValue
Auto Trait Implementations§
impl Freeze for MinHeightValue
impl RefUnwindSafe for MinHeightValue
impl Send for MinHeightValue
impl Sync for MinHeightValue
impl Unpin for MinHeightValue
impl UnwindSafe for MinHeightValue
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