#[repr(C, u8)]pub enum ColumnWidth {
Auto,
Length(PixelValue),
}Variants§
Auto
Length(PixelValue)
Trait Implementations§
Source§impl Clone for ColumnWidth
impl Clone for ColumnWidth
Source§fn clone(&self) -> ColumnWidth
fn clone(&self) -> ColumnWidth
Returns a duplicate 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 ColumnWidth
impl Debug for ColumnWidth
Source§impl Default for ColumnWidth
impl Default for ColumnWidth
Source§impl FormatAsRustCode for ColumnWidth
impl FormatAsRustCode for ColumnWidth
fn format_as_rust_code(&self, tabs: usize) -> String
Source§impl From<ColumnWidth> for CssProperty
impl From<ColumnWidth> for CssProperty
Source§fn from(e: ColumnWidth) -> Self
fn from(e: ColumnWidth) -> Self
Converts to this type from the input type.
Source§impl Hash for ColumnWidth
impl Hash for ColumnWidth
Source§impl Ord for ColumnWidth
impl Ord for ColumnWidth
Source§fn cmp(&self, other: &ColumnWidth) -> Ordering
fn cmp(&self, other: &ColumnWidth) -> 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 ColumnWidth
impl PartialEq for ColumnWidth
Source§impl PartialOrd for ColumnWidth
impl PartialOrd for ColumnWidth
Source§impl PrintAsCssValue for ColumnWidth
impl PrintAsCssValue for ColumnWidth
fn print_as_css_value(&self) -> String
impl Copy for ColumnWidth
impl Eq for ColumnWidth
impl StructuralPartialEq for ColumnWidth
Auto Trait Implementations§
impl Freeze for ColumnWidth
impl RefUnwindSafe for ColumnWidth
impl Send for ColumnWidth
impl Sync for ColumnWidth
impl Unpin for ColumnWidth
impl UnwindSafe for ColumnWidth
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