pub struct LayoutHeight(pub PixelValue);
Expand description
Represents a height
attribute
Tuple Fields§
§0: PixelValue
Implementations§
Trait Implementations§
Source§impl Clone for LayoutHeight
impl Clone for LayoutHeight
Source§fn clone(&self) -> LayoutHeight
fn clone(&self) -> LayoutHeight
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 LayoutHeight
impl Debug for LayoutHeight
Source§impl Display for LayoutHeight
impl Display for LayoutHeight
Source§impl FormatAsCssValue for LayoutHeight
impl FormatAsCssValue for LayoutHeight
fn format_as_css_value(&self, f: &mut Formatter<'_>) -> Result
Source§impl From<LayoutHeight> for CssProperty
impl From<LayoutHeight> for CssProperty
Source§fn from(e: LayoutHeight) -> Self
fn from(e: LayoutHeight) -> Self
Converts to this type from the input type.
Source§impl Hash for LayoutHeight
impl Hash for LayoutHeight
Source§impl Ord for LayoutHeight
impl Ord for LayoutHeight
Source§fn cmp(&self, other: &LayoutHeight) -> Ordering
fn cmp(&self, other: &LayoutHeight) -> 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 LayoutHeight
impl PartialEq for LayoutHeight
Source§impl PartialOrd for LayoutHeight
impl PartialOrd for LayoutHeight
impl Copy for LayoutHeight
impl Eq for LayoutHeight
impl StructuralPartialEq for LayoutHeight
Auto Trait Implementations§
impl Freeze for LayoutHeight
impl RefUnwindSafe for LayoutHeight
impl Send for LayoutHeight
impl Sync for LayoutHeight
impl Unpin for LayoutHeight
impl UnwindSafe for LayoutHeight
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
)