Struct reinfer_client::resources::entity_def::EntityDef
source · pub struct EntityDef {
pub color: u32,
pub id: Id,
pub inherits_from: Vec<Id>,
pub name: Name,
pub title: String,
pub trainable: bool,
pub entity_def_flags: Vec<EntityDefFlag>,
}
Fields§
§color: u32
§id: Id
§inherits_from: Vec<Id>
§name: Name
§title: String
§trainable: bool
§entity_def_flags: Vec<EntityDefFlag>
Trait Implementations§
source§impl<'de> Deserialize<'de> for EntityDef
impl<'de> Deserialize<'de> for EntityDef
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EntityDef
impl StructuralPartialEq for EntityDef
Auto Trait Implementations§
impl Freeze for EntityDef
impl RefUnwindSafe for EntityDef
impl Send for EntityDef
impl Sync for EntityDef
impl Unpin for EntityDef
impl UnwindSafe for EntityDef
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.