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