struct Burrow {
hallway: Hallway,
rooms: [Room; 4],
}
Expand description
Combine hallway and four rooms into a complete burrow representation in only 8 + 4 * 2 = 16 bytes.
Fields§
§hallway: Hallway
§rooms: [Room; 4]
Implementations§
Trait Implementations§
impl Copy for Burrow
impl Eq for Burrow
impl StructuralPartialEq for Burrow
Auto Trait Implementations§
impl Freeze for Burrow
impl RefUnwindSafe for Burrow
impl Send for Burrow
impl Sync for Burrow
impl Unpin for Burrow
impl UnwindSafe for Burrow
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)