pub struct Magnet {
pub radius: f32,
pub collect_radius: f32,
pub speed: f32,
}Fields§
§radius: f32§collect_radius: f32§speed: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Magnet
impl RefUnwindSafe for Magnet
impl Send for Magnet
impl Sync for Magnet
impl Unpin for Magnet
impl UnwindSafe for Magnet
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