pub struct MascotComponent {
pub frames: MascotFrames,
pub entrance: f64,
pub dissolve: f64,
pub floating: bool,
/* private fields */
}Expand description
Wizard mascot with entrance/dissolve progress, floating bobbing, and cached distance map.
Fields§
§frames: MascotFrames§entrance: f64§dissolve: f64§floating: boolImplementations§
Trait Implementations§
Source§impl Clone for MascotComponent
impl Clone for MascotComponent
Source§fn clone(&self) -> MascotComponent
fn clone(&self) -> MascotComponent
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for MascotComponent
impl RefUnwindSafe for MascotComponent
impl Send for MascotComponent
impl Sync for MascotComponent
impl Unpin for MascotComponent
impl UnsafeUnpin for MascotComponent
impl UnwindSafe for MascotComponent
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