Struct rich_sdl2_rust::Ticks
source · pub struct Ticks(pub u32);
Expand description
An elapsed time from when SDL2 has initialized. Please note that the value formed 32-bit, overflowing after about 49 days.
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
source§impl Ord for Ticks
impl Ord for Ticks
source§impl PartialEq for Ticks
impl PartialEq for Ticks
source§impl PartialOrd for Ticks
impl PartialOrd for Ticks
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Ticks
impl Eq for Ticks
impl StructuralPartialEq for Ticks
Auto Trait Implementations§
impl RefUnwindSafe for Ticks
impl Send for Ticks
impl Sync for Ticks
impl Unpin for Ticks
impl UnwindSafe for Ticks
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