Struct piston_window::IdleArgs
[−]pub struct IdleArgs {
pub dt: f64,
}
Expand description
Idle arguments, such as expected idle time in seconds.
Fields
dt: f64
Expected idle time in seconds.
Trait Implementations
impl<'de> Deserialize<'de> for IdleArgs
impl<'de> Deserialize<'de> for IdleArgs
fn deserialize<__D>(
__deserializer: __D
) -> Result<IdleArgs, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<IdleArgs, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl PartialOrd<IdleArgs> for IdleArgs
impl PartialOrd<IdleArgs> for IdleArgs
fn partial_cmp(&self, other: &IdleArgs) -> Option<Ordering>
fn partial_cmp(&self, other: &IdleArgs) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Serialize for IdleArgs
impl Serialize for IdleArgs
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for IdleArgs
impl StructuralPartialEq for IdleArgs
Auto Trait Implementations
impl RefUnwindSafe for IdleArgs
impl Send for IdleArgs
impl Sync for IdleArgs
impl Unpin for IdleArgs
impl UnwindSafe for IdleArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more