pub struct TimedAnimationConfig {
pub enabled: bool,
pub duration_ms: u64,
}Fields§
§enabled: bool§duration_ms: u64Implementations§
Trait Implementations§
Source§impl Clone for TimedAnimationConfig
impl Clone for TimedAnimationConfig
Source§fn clone(&self) -> TimedAnimationConfig
fn clone(&self) -> TimedAnimationConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimedAnimationConfig
Source§impl Debug for TimedAnimationConfig
impl Debug for TimedAnimationConfig
Source§impl PartialEq for TimedAnimationConfig
impl PartialEq for TimedAnimationConfig
Source§fn eq(&self, other: &TimedAnimationConfig) -> bool
fn eq(&self, other: &TimedAnimationConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimedAnimationConfig
Auto Trait Implementations§
impl Freeze for TimedAnimationConfig
impl RefUnwindSafe for TimedAnimationConfig
impl Send for TimedAnimationConfig
impl Sync for TimedAnimationConfig
impl Unpin for TimedAnimationConfig
impl UnsafeUnpin for TimedAnimationConfig
impl UnwindSafe for TimedAnimationConfig
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