pub enum BreakpointName {
Xs,
Sm,
Md,
Lg,
Xl,
Xxl,
}Expand description
Standard breakpoint labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for BreakpointName
impl Clone for BreakpointName
Source§fn clone(&self) -> BreakpointName
fn clone(&self) -> BreakpointName
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 moreSource§impl Debug for BreakpointName
impl Debug for BreakpointName
Source§impl Hash for BreakpointName
impl Hash for BreakpointName
Source§impl Ord for BreakpointName
impl Ord for BreakpointName
Source§fn cmp(&self, other: &BreakpointName) -> Ordering
fn cmp(&self, other: &BreakpointName) -> Ordering
1.21.0 (const: unstable) · 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 BreakpointName
impl PartialEq for BreakpointName
Source§fn eq(&self, other: &BreakpointName) -> bool
fn eq(&self, other: &BreakpointName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BreakpointName
impl PartialOrd for BreakpointName
impl Copy for BreakpointName
impl Eq for BreakpointName
impl StructuralPartialEq for BreakpointName
Auto Trait Implementations§
impl Freeze for BreakpointName
impl RefUnwindSafe for BreakpointName
impl Send for BreakpointName
impl Sync for BreakpointName
impl Unpin for BreakpointName
impl UnsafeUnpin for BreakpointName
impl UnwindSafe for BreakpointName
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