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