#[repr(C)]pub struct ScrollbarFadeDelay {
pub ms: u32,
}Expand description
Time in milliseconds before the overlay scrollbar starts fading out.
A value of 0 means the scrollbar never fades (always visible). Typical values: 500ms (macOS), 0ms (Windows).
CSS syntax: -azul-scrollbar-fade-delay: 500ms; or -azul-scrollbar-fade-delay: 0;
Fields§
§ms: u32Delay in milliseconds
Implementations§
Trait Implementations§
Source§impl Clone for ScrollbarFadeDelay
impl Clone for ScrollbarFadeDelay
Source§fn clone(&self) -> ScrollbarFadeDelay
fn clone(&self) -> ScrollbarFadeDelay
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 ScrollbarFadeDelay
impl Debug for ScrollbarFadeDelay
Source§impl Default for ScrollbarFadeDelay
impl Default for ScrollbarFadeDelay
Source§fn default() -> ScrollbarFadeDelay
fn default() -> ScrollbarFadeDelay
Returns the “default value” for a type. Read more
Source§impl FormatAsRustCode for ScrollbarFadeDelay
impl FormatAsRustCode for ScrollbarFadeDelay
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<ScrollbarFadeDelay> for CssProperty
impl From<ScrollbarFadeDelay> for CssProperty
Source§fn from(e: ScrollbarFadeDelay) -> Self
fn from(e: ScrollbarFadeDelay) -> Self
Converts to this type from the input type.
Source§impl Hash for ScrollbarFadeDelay
impl Hash for ScrollbarFadeDelay
Source§impl Ord for ScrollbarFadeDelay
impl Ord for ScrollbarFadeDelay
Source§fn cmp(&self, other: &ScrollbarFadeDelay) -> Ordering
fn cmp(&self, other: &ScrollbarFadeDelay) -> 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 ScrollbarFadeDelay
impl PartialEq for ScrollbarFadeDelay
Source§fn eq(&self, other: &ScrollbarFadeDelay) -> bool
fn eq(&self, other: &ScrollbarFadeDelay) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ScrollbarFadeDelay
impl PartialOrd for ScrollbarFadeDelay
Source§impl PrintAsCssValue for ScrollbarFadeDelay
impl PrintAsCssValue for ScrollbarFadeDelay
fn print_as_css_value(&self) -> String
impl Copy for ScrollbarFadeDelay
impl Eq for ScrollbarFadeDelay
impl StructuralPartialEq for ScrollbarFadeDelay
Auto Trait Implementations§
impl Freeze for ScrollbarFadeDelay
impl RefUnwindSafe for ScrollbarFadeDelay
impl Send for ScrollbarFadeDelay
impl Sync for ScrollbarFadeDelay
impl Unpin for ScrollbarFadeDelay
impl UnsafeUnpin for ScrollbarFadeDelay
impl UnwindSafe for ScrollbarFadeDelay
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