pub struct MeasuredExtent {
pub span: Option<(Sixteenths, Sixteenths)>,
}Expand description
One blockstate’s collision box, vertically: None for an empty shape.
Fields§
§span: Option<(Sixteenths, Sixteenths)>The bottom and top of the box above the cell floor, or None when the
game gives the state no collision at all.
Trait Implementations§
Source§impl Clone for MeasuredExtent
impl Clone for MeasuredExtent
impl Copy for MeasuredExtent
Source§impl Debug for MeasuredExtent
impl Debug for MeasuredExtent
impl Eq for MeasuredExtent
Source§impl PartialEq for MeasuredExtent
impl PartialEq for MeasuredExtent
impl StructuralPartialEq for MeasuredExtent
Auto Trait Implementations§
impl Freeze for MeasuredExtent
impl RefUnwindSafe for MeasuredExtent
impl Send for MeasuredExtent
impl Sync for MeasuredExtent
impl Unpin for MeasuredExtent
impl UnsafeUnpin for MeasuredExtent
impl UnwindSafe for MeasuredExtent
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