#[repr(C)]pub struct CssDuration {
pub inner: u32,
}Fields§
§inner: u32Duration in milliseconds.
Trait Implementations§
Source§impl Clone for CssDuration
impl Clone for CssDuration
Source§fn clone(&self) -> CssDuration
fn clone(&self) -> CssDuration
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 CssDuration
impl Debug for CssDuration
Source§impl Default for CssDuration
impl Default for CssDuration
Source§impl FormatAsRustCode for CssDuration
impl FormatAsRustCode for CssDuration
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl Hash for CssDuration
impl Hash for CssDuration
Source§impl Ord for CssDuration
impl Ord for CssDuration
Source§fn cmp(&self, other: &CssDuration) -> Ordering
fn cmp(&self, other: &CssDuration) -> 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 CssDuration
impl PartialEq for CssDuration
Source§impl PartialOrd for CssDuration
impl PartialOrd for CssDuration
Source§impl PrintAsCssValue for CssDuration
impl PrintAsCssValue for CssDuration
fn print_as_css_value(&self) -> String
impl Copy for CssDuration
impl Eq for CssDuration
impl StructuralPartialEq for CssDuration
Auto Trait Implementations§
impl Freeze for CssDuration
impl RefUnwindSafe for CssDuration
impl Send for CssDuration
impl Sync for CssDuration
impl Unpin for CssDuration
impl UnwindSafe for CssDuration
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