Struct rin_scene::time::FloatDuration [−][src]
pub struct FloatDuration(_);
Implementations
impl FloatDuration
[src]
impl FloatDuration
[src]pub fn from_nanoseconds(nanos: u64) -> FloatDuration
[src]
pub fn from_microseconds(micros: u64) -> FloatDuration
[src]
pub fn from_milliseconds(millis: u64) -> FloatDuration
[src]
pub fn from_seconds(seconds: u64) -> FloatDuration
[src]
pub fn from_seconds_f32(seconds: f32) -> FloatDuration
[src]
pub fn from_seconds_f64(seconds: f64) -> FloatDuration
[src]
pub fn as_seconds(&self) -> f64
[src]
pub fn as_nanoseconds(&self) -> f64
[src]
pub fn as_milliseconds(&self) -> f64
[src]
pub fn as_microseconds(&self) -> f64
[src]
pub fn as_std(&self) -> Duration
[src]
Trait Implementations
impl Add<FloatDuration> for FloatDuration
[src]
impl Add<FloatDuration> for FloatDuration
[src]type Output = FloatDuration
The resulting type after applying the +
operator.
pub fn add(self, other: FloatDuration) -> FloatDuration
[src]
impl AddAssign<FloatDuration> for FloatDuration
[src]
impl AddAssign<FloatDuration> for FloatDuration
[src]pub fn add_assign(&mut self, other: FloatDuration)
[src]
impl Clone for FloatDuration
[src]
impl Clone for FloatDuration
[src]pub fn clone(&self) -> FloatDuration
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for FloatDuration
[src]
impl<'de> Deserialize<'de> for FloatDuration
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<FloatDuration, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<FloatDuration, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Div<f64> for FloatDuration
[src]
impl Div<f64> for FloatDuration
[src]type Output = FloatDuration
The resulting type after applying the /
operator.
pub fn div(self, multiplier: f64) -> FloatDuration
[src]
impl Div<u32> for FloatDuration
[src]
impl Div<u32> for FloatDuration
[src]type Output = FloatDuration
The resulting type after applying the /
operator.
pub fn div(self, other: u32) -> FloatDuration
[src]
impl DivAssign<f64> for FloatDuration
[src]
impl DivAssign<f64> for FloatDuration
[src]pub fn div_assign(&mut self, other: f64)
[src]
impl DivAssign<u32> for FloatDuration
[src]
impl DivAssign<u32> for FloatDuration
[src]pub fn div_assign(&mut self, other: u32)
[src]
impl Hash for FloatDuration
[src]
impl Hash for FloatDuration
[src]impl Mul<f64> for FloatDuration
[src]
impl Mul<f64> for FloatDuration
[src]type Output = FloatDuration
The resulting type after applying the *
operator.
pub fn mul(self, multiplier: f64) -> FloatDuration
[src]
impl Mul<u32> for FloatDuration
[src]
impl Mul<u32> for FloatDuration
[src]type Output = FloatDuration
The resulting type after applying the *
operator.
pub fn mul(self, other: u32) -> FloatDuration
[src]
impl MulAssign<f64> for FloatDuration
[src]
impl MulAssign<f64> for FloatDuration
[src]pub fn mul_assign(&mut self, other: f64)
[src]
impl MulAssign<u32> for FloatDuration
[src]
impl MulAssign<u32> for FloatDuration
[src]pub fn mul_assign(&mut self, other: u32)
[src]
impl Ord for FloatDuration
[src]
impl Ord for FloatDuration
[src]impl PartialEq<FloatDuration> for FloatDuration
[src]
impl PartialEq<FloatDuration> for FloatDuration
[src]pub fn eq(&self, other: &FloatDuration) -> bool
[src]
pub fn ne(&self, other: &FloatDuration) -> bool
[src]
impl PartialOrd<FloatDuration> for FloatDuration
[src]
impl PartialOrd<FloatDuration> for FloatDuration
[src]pub fn partial_cmp(&self, other: &FloatDuration) -> 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 FloatDuration
[src]
impl Serialize for FloatDuration
[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<FloatDuration> for FloatDuration
[src]
impl Sub<FloatDuration> for FloatDuration
[src]type Output = FloatDuration
The resulting type after applying the -
operator.
pub fn sub(self, other: FloatDuration) -> FloatDuration
[src]
impl SubAssign<FloatDuration> for FloatDuration
[src]
impl SubAssign<FloatDuration> for FloatDuration
[src]pub fn sub_assign(&mut self, other: FloatDuration)
[src]
impl Copy for FloatDuration
[src]
impl Eq for FloatDuration
[src]
impl StructuralEq for FloatDuration
[src]
impl StructuralPartialEq for FloatDuration
[src]
Auto Trait Implementations
impl RefUnwindSafe for FloatDuration
impl Send for FloatDuration
impl Sync for FloatDuration
impl Unpin for FloatDuration
impl UnwindSafe for FloatDuration
Blanket Implementations
impl<T> CallHasher for T where
T: Hash,
[src]
impl<T> CallHasher for T where
T: Hash,
[src]impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[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> ClosedDiv<Right> for T where
T: Div<Right, Output = T> + DivAssign<Right>,
[src]
T: Div<Right, Output = T> + DivAssign<Right>,
impl<T, Right> ClosedDiv<Right> for T where
T: Div<Right, Output = T> + DivAssign<Right>,
[src]
T: Div<Right, Output = T> + DivAssign<Right>,
impl<T, Right> ClosedMul<Right> for T where
T: Mul<Right, Output = T> + MulAssign<Right>,
[src]
T: Mul<Right, Output = T> + MulAssign<Right>,
impl<T, Right> ClosedMul<Right> for T where
T: Mul<Right, Output = T> + MulAssign<Right>,
[src]
T: Mul<Right, Output = T> + MulAssign<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> CollisionObjectHandle for T where
T: 'static + Copy + Hash + PartialEq<T> + Eq + Send + Sync,
[src]
T: 'static + Copy + Hash + PartialEq<T> + Eq + Send + Sync,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<N> NodeTrait for N where
N: Copy + Ord + Hash,
[src]
N: Copy + Ord + Hash,
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,