EntityFields

Struct EntityFields 

Source
pub struct EntityFields {
Show 36 fields pub bbHeight: Option<f32>, pub bbWidth: Option<f32>, pub collision: Option<bool>, pub fallDistance: Option<f32>, pub footSize: Option<f32>, pub heightOffset: Option<f32>, pub horizontalCollision: Option<bool>, pub hovered: Option<bool>, pub makeStepSound: Option<bool>, pub nextStep: Option<i32>, pub noPhysics: Option<bool>, pub onGround: Option<bool>, pub pushthrough: Option<f32>, pub removed: Option<bool>, pub slide: Option<bool>, pub textureId: Option<i32>, pub walkDist: Option<f32>, pub walkDistO: Option<f32>, pub x: Option<f32>, pub xOld: Option<f32>, pub xRot: Option<f32>, pub xRotO: Option<f32>, pub xd: Option<f32>, pub xo: Option<f32>, pub y: Option<f32>, pub yOld: Option<f32>, pub yRot: Option<f32>, pub yRotO: Option<f32>, pub ySlideOffset: Option<f32>, pub yd: Option<f32>, pub yo: Option<f32>, pub z: Option<f32>, pub zOld: Option<f32>, pub zd: Option<f32>, pub zo: Option<f32>, pub bb: Option<AABB>,
}

Fields§

§bbHeight: Option<f32>§bbWidth: Option<f32>§collision: Option<bool>§fallDistance: Option<f32>§footSize: Option<f32>§heightOffset: Option<f32>§horizontalCollision: Option<bool>§hovered: Option<bool>§makeStepSound: Option<bool>§nextStep: Option<i32>§noPhysics: Option<bool>§onGround: Option<bool>§pushthrough: Option<f32>§removed: Option<bool>§slide: Option<bool>§textureId: Option<i32>§walkDist: Option<f32>§walkDistO: Option<f32>§x: Option<f32>§xOld: Option<f32>§xRot: Option<f32>§xRotO: Option<f32>§xd: Option<f32>§xo: Option<f32>§y: Option<f32>§yOld: Option<f32>§yRot: Option<f32>§yRotO: Option<f32>§ySlideOffset: Option<f32>§yd: Option<f32>§yo: Option<f32>§z: Option<f32>§zOld: Option<f32>§zd: Option<f32>§zo: Option<f32>§bb: Option<AABB>

Implementations§

Source§

impl EntityFields

Source

pub fn new() -> Self

Trait Implementations§

Source§

impl Clone for EntityFields

Source§

fn clone(&self) -> EntityFields

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.