pub enum ContentWidth {
Narrow,
Medium,
Wide,
Full,
}Expand description
Content width choices matching the frontend ContentWidth union type.
Variants§
Implementations§
Source§impl ContentWidth
impl ContentWidth
Trait Implementations§
Source§impl Clone for ContentWidth
impl Clone for ContentWidth
Source§fn clone(&self) -> ContentWidth
fn clone(&self) -> ContentWidth
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 ContentWidth
impl Debug for ContentWidth
Source§impl Default for ContentWidth
impl Default for ContentWidth
Source§fn default() -> ContentWidth
fn default() -> ContentWidth
Returns the “default value” for a type. Read more
Source§impl FromValue for ContentWidth
impl FromValue for ContentWidth
Source§impl PartialEq for ContentWidth
impl PartialEq for ContentWidth
impl StructuralPartialEq for ContentWidth
Auto Trait Implementations§
impl Freeze for ContentWidth
impl RefUnwindSafe for ContentWidth
impl Send for ContentWidth
impl Sync for ContentWidth
impl Unpin for ContentWidth
impl UnsafeUnpin for ContentWidth
impl UnwindSafe for ContentWidth
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