pub struct LayoutMaxHeight(pub PixelValue);
Expand description
Represents a max-height
attribute
Tuple Fields§
§0: PixelValue
Implementations§
Trait Implementations§
Source§impl Clone for LayoutMaxHeight
impl Clone for LayoutMaxHeight
Source§fn clone(&self) -> LayoutMaxHeight
fn clone(&self) -> LayoutMaxHeight
Returns a copy 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 LayoutMaxHeight
impl Debug for LayoutMaxHeight
Source§impl Display for LayoutMaxHeight
impl Display for LayoutMaxHeight
Source§impl FormatAsCssValue for LayoutMaxHeight
impl FormatAsCssValue for LayoutMaxHeight
fn format_as_css_value(&self, f: &mut Formatter<'_>) -> Result
Source§impl From<LayoutMaxHeight> for CssProperty
impl From<LayoutMaxHeight> for CssProperty
Source§fn from(e: LayoutMaxHeight) -> Self
fn from(e: LayoutMaxHeight) -> Self
Converts to this type from the input type.
Source§impl Hash for LayoutMaxHeight
impl Hash for LayoutMaxHeight
Source§impl Ord for LayoutMaxHeight
impl Ord for LayoutMaxHeight
Source§fn cmp(&self, other: &LayoutMaxHeight) -> Ordering
fn cmp(&self, other: &LayoutMaxHeight) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LayoutMaxHeight
impl PartialEq for LayoutMaxHeight
Source§impl PartialOrd for LayoutMaxHeight
impl PartialOrd for LayoutMaxHeight
impl Copy for LayoutMaxHeight
impl Eq for LayoutMaxHeight
impl StructuralPartialEq for LayoutMaxHeight
Auto Trait Implementations§
impl Freeze for LayoutMaxHeight
impl RefUnwindSafe for LayoutMaxHeight
impl Send for LayoutMaxHeight
impl Sync for LayoutMaxHeight
impl Unpin for LayoutMaxHeight
impl UnwindSafe for LayoutMaxHeight
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)