pub enum BoundingBox {
Empty,
Block,
}Expand description
minecraft-data’s coarse bounding-box classification.
Variants§
Empty
No collision (“empty”).
Block
Has some collision (“block”); see the block state’s Collision for the real shape.
Trait Implementations§
Source§impl Clone for BoundingBox
impl Clone for BoundingBox
impl Copy for BoundingBox
Source§impl Debug for BoundingBox
impl Debug for BoundingBox
impl Eq for BoundingBox
Source§impl Hash for BoundingBox
impl Hash for BoundingBox
Source§impl PartialEq for BoundingBox
impl PartialEq for BoundingBox
impl StructuralPartialEq for BoundingBox
Auto Trait Implementations§
impl Forget for BoundingBox
impl Freeze for BoundingBox
impl RefUnwindSafe for BoundingBox
impl Send for BoundingBox
impl Sync for BoundingBox
impl Unpin for BoundingBox
impl UnsafeUnpin for BoundingBox
impl UnwindSafe for BoundingBox
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