pub struct Room<'a> {
name: &'a str,
sector_id: u32,
}
Fields§
§name: &'a str
§sector_id: u32
Auto Trait Implementations§
impl<'a> Freeze for Room<'a>
impl<'a> RefUnwindSafe for Room<'a>
impl<'a> Send for Room<'a>
impl<'a> Sync for Room<'a>
impl<'a> Unpin for Room<'a>
impl<'a> UnwindSafe for Room<'a>
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