pub struct Rival {
pub position: Vec2,
pub velocity: Vec2,
}Fields§
§position: Vec2§velocity: Vec2Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rival
impl RefUnwindSafe for Rival
impl Send for Rival
impl Sync for Rival
impl Unpin for Rival
impl UnwindSafe for Rival
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