pub enum LayoutDisplay {
Flex,
Block,
InlineBlock,
}
Expand description
Represents a display
attribute
Variants§
Trait Implementations§
Source§impl Clone for LayoutDisplay
impl Clone for LayoutDisplay
Source§fn clone(&self) -> LayoutDisplay
fn clone(&self) -> LayoutDisplay
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 LayoutDisplay
impl Debug for LayoutDisplay
Source§impl Default for LayoutDisplay
impl Default for LayoutDisplay
Source§impl From<LayoutDisplay> for CssProperty
impl From<LayoutDisplay> for CssProperty
Source§fn from(e: LayoutDisplay) -> Self
fn from(e: LayoutDisplay) -> Self
Converts to this type from the input type.
Source§impl Hash for LayoutDisplay
impl Hash for LayoutDisplay
Source§impl Ord for LayoutDisplay
impl Ord for LayoutDisplay
Source§fn cmp(&self, other: &LayoutDisplay) -> Ordering
fn cmp(&self, other: &LayoutDisplay) -> 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 LayoutDisplay
impl PartialEq for LayoutDisplay
Source§impl PartialOrd for LayoutDisplay
impl PartialOrd for LayoutDisplay
impl Copy for LayoutDisplay
impl Eq for LayoutDisplay
impl StructuralPartialEq for LayoutDisplay
Auto Trait Implementations§
impl Freeze for LayoutDisplay
impl RefUnwindSafe for LayoutDisplay
impl Send for LayoutDisplay
impl Sync for LayoutDisplay
impl Unpin for LayoutDisplay
impl UnwindSafe for LayoutDisplay
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
)