#[repr(C)]pub struct Robot {
pub position: Position,
pub energy: u32,
pub owner: u32,
}Fields§
§position: Position§energy: u32§owner: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for Robot
impl RefUnwindSafe for Robot
impl Send for Robot
impl Sync for Robot
impl Unpin for Robot
impl UnwindSafe for Robot
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