#[repr(C)]pub enum LayoutScrollbarWidth {
Auto = 0,
Thin = 1,
None = 2,
}Expand description
Represents the standard scrollbar-width property.
Variants§
Trait Implementations§
Source§impl Clone for LayoutScrollbarWidth
impl Clone for LayoutScrollbarWidth
Source§fn clone(&self) -> LayoutScrollbarWidth
fn clone(&self) -> LayoutScrollbarWidth
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 LayoutScrollbarWidth
impl Debug for LayoutScrollbarWidth
Source§impl Default for LayoutScrollbarWidth
impl Default for LayoutScrollbarWidth
Source§impl FormatAsRustCode for LayoutScrollbarWidth
impl FormatAsRustCode for LayoutScrollbarWidth
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<LayoutScrollbarWidth> for CssProperty
impl From<LayoutScrollbarWidth> for CssProperty
Source§fn from(e: LayoutScrollbarWidth) -> Self
fn from(e: LayoutScrollbarWidth) -> Self
Converts to this type from the input type.
Source§impl Hash for LayoutScrollbarWidth
impl Hash for LayoutScrollbarWidth
Source§impl Ord for LayoutScrollbarWidth
impl Ord for LayoutScrollbarWidth
Source§fn cmp(&self, other: &LayoutScrollbarWidth) -> Ordering
fn cmp(&self, other: &LayoutScrollbarWidth) -> 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 LayoutScrollbarWidth
impl PartialEq for LayoutScrollbarWidth
Source§impl PartialOrd for LayoutScrollbarWidth
impl PartialOrd for LayoutScrollbarWidth
Source§impl PrintAsCssValue for LayoutScrollbarWidth
impl PrintAsCssValue for LayoutScrollbarWidth
fn print_as_css_value(&self) -> String
impl Copy for LayoutScrollbarWidth
impl Eq for LayoutScrollbarWidth
impl StructuralPartialEq for LayoutScrollbarWidth
Auto Trait Implementations§
impl Freeze for LayoutScrollbarWidth
impl RefUnwindSafe for LayoutScrollbarWidth
impl Send for LayoutScrollbarWidth
impl Sync for LayoutScrollbarWidth
impl Unpin for LayoutScrollbarWidth
impl UnwindSafe for LayoutScrollbarWidth
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