[][src]Struct basin2_data::entities::EntityTypeT

pub struct EntityTypeT {
    pub registry_name: AtomicSet<String>,
    pub registry_id: AtomicU32,
    pub class_name: Option<String>,
    pub should_save: bool,
    pub should_summon: bool,
    pub fire_immune: bool,
    pub can_spawn_far_away: bool,
    pub dimensions: (f32, f32),
    pub data_manager: Box<dyn EntityTypeData>,
}

Fields

registry_name: AtomicSet<String>registry_id: AtomicU32class_name: Option<String>should_save: boolshould_summon: boolfire_immune: boolcan_spawn_far_away: booldimensions: (f32, f32)data_manager: Box<dyn EntityTypeData>

Trait Implementations

impl Debug for EntityTypeT[src]

impl Default for EntityTypeT[src]

impl RegistryItem for EntityTypeT[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.