pub struct EntityDimensions {
pub width: f32,
pub height: f32,
pub eye_height: f32,
}Expand description
Vanilla entity dimensions (floats, as the game stores them).
Fields§
§width: f32Box width (x and z).
height: f32Box height.
eye_height: f32Eye height above the feet.
Implementations§
Trait Implementations§
Source§impl Clone for EntityDimensions
impl Clone for EntityDimensions
impl Copy for EntityDimensions
Source§impl Debug for EntityDimensions
impl Debug for EntityDimensions
Source§impl PartialEq for EntityDimensions
impl PartialEq for EntityDimensions
impl StructuralPartialEq for EntityDimensions
Auto Trait Implementations§
impl Forget for EntityDimensions
impl Freeze for EntityDimensions
impl RefUnwindSafe for EntityDimensions
impl Send for EntityDimensions
impl Sync for EntityDimensions
impl Unpin for EntityDimensions
impl UnsafeUnpin for EntityDimensions
impl UnwindSafe for EntityDimensions
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