pub struct MaxContent;Expand description
<max-content> — sizes the box to its maximum intrinsic content
size.
Trait Implementations§
Source§impl Clone for MaxContent
impl Clone for MaxContent
Source§fn clone(&self) -> MaxContent
fn clone(&self) -> MaxContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MaxContent
Source§impl Debug for MaxContent
impl Debug for MaxContent
Source§impl Default for MaxContent
impl Default for MaxContent
Source§fn default() -> MaxContent
fn default() -> MaxContent
Returns the “default value” for a type. Read more
impl Eq for MaxContent
Source§impl From<MaxContent> for Size
impl From<MaxContent> for Size
Source§fn from(_: MaxContent) -> Self
fn from(_: MaxContent) -> Self
Converts to this type from the input type.
Source§impl Hash for MaxContent
impl Hash for MaxContent
Source§impl PartialEq for MaxContent
impl PartialEq for MaxContent
Source§fn eq(&self, other: &MaxContent) -> bool
fn eq(&self, other: &MaxContent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MaxContent
Auto Trait Implementations§
impl Freeze for MaxContent
impl RefUnwindSafe for MaxContent
impl Send for MaxContent
impl Sync for MaxContent
impl Unpin for MaxContent
impl UnsafeUnpin for MaxContent
impl UnwindSafe for MaxContent
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