pub struct Masks {
pub walkable: Vec<Vec<bool>>,
pub no_spawn: Vec<Vec<bool>>,
pub width: usize,
pub height: usize,
}Expand description
Spatial masks for gameplay logic
Fields§
§walkable: Vec<Vec<bool>>§no_spawn: Vec<Vec<bool>>§width: usize§height: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Masks
impl RefUnwindSafe for Masks
impl Send for Masks
impl Sync for Masks
impl Unpin for Masks
impl UnwindSafe for Masks
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