Struct red4ext_rs::types::EngineTime
source · pub struct EngineTime(/* private fields */);
Implementations§
source§impl EngineTime
impl EngineTime
Trait Implementations§
source§impl Add<Duration> for EngineTime
impl Add<Duration> for EngineTime
source§impl Add<f64> for EngineTime
impl Add<f64> for EngineTime
source§impl AddAssign<Duration> for EngineTime
impl AddAssign<Duration> for EngineTime
source§fn add_assign(&mut self, rhs: Duration)
fn add_assign(&mut self, rhs: Duration)
Performs the
+=
operation. Read moresource§impl AddAssign<f64> for EngineTime
impl AddAssign<f64> for EngineTime
source§fn add_assign(&mut self, rhs: f64)
fn add_assign(&mut self, rhs: f64)
§Panics
Panics if the sum ends up being f64::NAN
, f64::INFINITY
or f64::NEG_INFINITY
.
source§impl Clone for EngineTime
impl Clone for EngineTime
source§fn clone(&self) -> EngineTime
fn clone(&self) -> EngineTime
Returns a copy 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 Default for EngineTime
impl Default for EngineTime
source§fn default() -> EngineTime
fn default() -> EngineTime
Returns the “default value” for a type. Read more
source§impl From<EngineTime> for f64
impl From<EngineTime> for f64
source§fn from(EngineTime: EngineTime) -> Self
fn from(EngineTime: EngineTime) -> Self
Converts to this type from the input type.
source§impl PartialEq for EngineTime
impl PartialEq for EngineTime
source§impl PartialOrd for EngineTime
impl PartialOrd for EngineTime
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 moresource§impl Sub<Duration> for EngineTime
impl Sub<Duration> for EngineTime
source§impl Sub<f64> for EngineTime
impl Sub<f64> for EngineTime
source§impl SubAssign<Duration> for EngineTime
impl SubAssign<Duration> for EngineTime
source§fn sub_assign(&mut self, rhs: Duration)
fn sub_assign(&mut self, rhs: Duration)
Performs the
-=
operation. Read moresource§impl SubAssign<f64> for EngineTime
impl SubAssign<f64> for EngineTime
source§fn sub_assign(&mut self, rhs: f64)
fn sub_assign(&mut self, rhs: f64)
§Panics
Panics if the sum ends up being f64::NAN
, f64::INFINITY
or f64::NEG_INFINITY
.
source§impl TryFrom<Duration> for EngineTime
impl TryFrom<Duration> for EngineTime
source§impl TryFrom<f64> for EngineTime
impl TryFrom<f64> for EngineTime
impl Copy for EngineTime
Auto Trait Implementations§
impl Freeze for EngineTime
impl RefUnwindSafe for EngineTime
impl Send for EngineTime
impl Sync for EngineTime
impl Unpin for EngineTime
impl UnwindSafe for EngineTime
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