Struct rin_scene::time::FloatInstant [−][src]
pub struct FloatInstant(_);
Implementations
impl FloatInstant
[src]
impl FloatInstant
[src]pub fn from_secs_f64(now: f64) -> FloatInstant
[src]
pub fn duration_since(&self, earlier: FloatInstant) -> Duration
[src]
pub fn checked_duration_since(&self, earlier: FloatInstant) -> Option<Duration>
[src]
pub fn saturating_duration_since(&self, earlier: FloatInstant) -> Duration
[src]
Trait Implementations
impl Add<Duration> for FloatInstant
[src]
impl Add<Duration> for FloatInstant
[src]type Output = FloatInstant
The resulting type after applying the +
operator.
pub fn add(self, other: Duration) -> FloatInstant
[src]
impl AddAssign<Duration> for FloatInstant
[src]
impl AddAssign<Duration> for FloatInstant
[src]pub fn add_assign(&mut self, other: Duration)
[src]
impl Clone for FloatInstant
[src]
impl Clone for FloatInstant
[src]pub fn clone(&self) -> FloatInstant
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for FloatInstant
[src]
impl<'de> Deserialize<'de> for FloatInstant
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<FloatInstant, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<FloatInstant, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl PartialEq<FloatInstant> for FloatInstant
[src]
impl PartialEq<FloatInstant> for FloatInstant
[src]pub fn eq(&self, other: &FloatInstant) -> bool
[src]
pub fn ne(&self, other: &FloatInstant) -> bool
[src]
impl PartialOrd<FloatInstant> for FloatInstant
[src]
impl PartialOrd<FloatInstant> for FloatInstant
[src]pub fn partial_cmp(&self, other: &FloatInstant) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Serialize for FloatInstant
[src]
impl Serialize for FloatInstant
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl Sub<Duration> for FloatInstant
[src]
impl Sub<Duration> for FloatInstant
[src]type Output = FloatInstant
The resulting type after applying the -
operator.
pub fn sub(self, other: Duration) -> FloatInstant
[src]
impl Sub<FloatInstant> for FloatInstant
[src]
impl Sub<FloatInstant> for FloatInstant
[src]impl SubAssign<Duration> for FloatInstant
[src]
impl SubAssign<Duration> for FloatInstant
[src]pub fn sub_assign(&mut self, other: Duration)
[src]
impl Copy for FloatInstant
[src]
impl StructuralPartialEq for FloatInstant
[src]
Auto Trait Implementations
impl RefUnwindSafe for FloatInstant
impl Send for FloatInstant
impl Sync for FloatInstant
impl Unpin for FloatInstant
impl UnwindSafe for FloatInstant
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T, Right> ClosedAdd<Right> for T where
T: Add<Right, Output = T> + AddAssign<Right>,
[src]
T: Add<Right, Output = T> + AddAssign<Right>,
impl<T, Right> ClosedAdd<Right> for T where
T: Add<Right, Output = T> + AddAssign<Right>,
[src]
T: Add<Right, Output = T> + AddAssign<Right>,
impl<T, Right> ClosedSub<Right> for T where
T: Sub<Right, Output = T> + SubAssign<Right>,
[src]
T: Sub<Right, Output = T> + SubAssign<Right>,
impl<T, Right> ClosedSub<Right> for T where
T: Sub<Right, Output = T> + SubAssign<Right>,
[src]
T: Sub<Right, Output = T> + SubAssign<Right>,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,