pub struct CollisionLayers { /* private fields */ }Expand description
The names of the game’s collision layers: the layer of bit n of a
LayerMask is named by the n-th, so that prefabs and levels write
["World", "People"] for a collider’s layers. A resource of every
App, with no names until
App::collision_layers gives them.
Implementations§
Trait Implementations§
Source§impl Clone for CollisionLayers
impl Clone for CollisionLayers
Source§impl Debug for CollisionLayers
impl Debug for CollisionLayers
Source§impl Default for CollisionLayers
impl Default for CollisionLayers
impl Eq for CollisionLayers
Source§impl PartialEq for CollisionLayers
impl PartialEq for CollisionLayers
impl StructuralPartialEq for CollisionLayers
Auto Trait Implementations§
impl Forget for CollisionLayers
impl Freeze for CollisionLayers
impl Move for CollisionLayers
impl RefUnwindSafe for CollisionLayers
impl Send for CollisionLayers
impl Sync for CollisionLayers
impl Unpin for CollisionLayers
impl UnsafeUnpin for CollisionLayers
impl UnwindSafe for CollisionLayers
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