pub struct MapShake { /* private fields */ }Implementations§
Source§impl MapShake
impl MapShake
pub fn power(&self) -> u8
pub fn power_mut(&mut self) -> &mut u8
pub fn speed(&self) -> u8
pub fn speed_mut(&mut self) -> &mut u8
pub fn shake_type(&self) -> &ShakeType
pub fn shake_type_mut(&mut self) -> &mut ShakeType
pub fn duration(&self) -> u32
pub fn duration_mut(&mut self) -> &mut u32
Trait Implementations§
impl StructuralPartialEq for MapShake
Auto Trait Implementations§
impl Freeze for MapShake
impl RefUnwindSafe for MapShake
impl Send for MapShake
impl Sync for MapShake
impl Unpin for MapShake
impl UnwindSafe for MapShake
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