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