pub enum StyleWidth {
Cells(u32),
Percentage(u8),
}Expand description
Width directive used by popup, menu, and status rendering.
Variants§
Trait Implementations§
Source§impl Clone for StyleWidth
impl Clone for StyleWidth
Source§fn clone(&self) -> StyleWidth
fn clone(&self) -> StyleWidth
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 StyleWidth
Source§impl Debug for StyleWidth
impl Debug for StyleWidth
impl Eq for StyleWidth
Source§impl PartialEq for StyleWidth
impl PartialEq for StyleWidth
Source§fn eq(&self, other: &StyleWidth) -> bool
fn eq(&self, other: &StyleWidth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StyleWidth
Auto Trait Implementations§
impl Freeze for StyleWidth
impl RefUnwindSafe for StyleWidth
impl Send for StyleWidth
impl Sync for StyleWidth
impl Unpin for StyleWidth
impl UnsafeUnpin for StyleWidth
impl UnwindSafe for StyleWidth
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