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