pub struct NpcModelData {Show 14 fields
pub models: Vec<u16>,
pub chat_head_models: Vec<u16>,
pub recolor_find: Vec<u16>,
pub recolor_replace: Vec<u16>,
pub retexture_find: Vec<u16>,
pub retexture_replace: Vec<u16>,
pub width_scale: u16,
pub height_scale: u16,
pub render_priority: bool,
pub ambient: u8,
pub contrast: u8,
pub head_icon: Option<u16>,
pub rotate_speed: u16,
pub rotate_flag: bool,
}Fields§
§models: Vec<u16>§chat_head_models: Vec<u16>§recolor_find: Vec<u16>§recolor_replace: Vec<u16>§retexture_find: Vec<u16>§retexture_replace: Vec<u16>§width_scale: u16§height_scale: u16§render_priority: bool§ambient: u8§contrast: u8§head_icon: Option<u16>§rotate_speed: u16§rotate_flag: boolTrait Implementations§
Source§impl Clone for NpcModelData
impl Clone for NpcModelData
Source§fn clone(&self) -> NpcModelData
fn clone(&self) -> NpcModelData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NpcModelData
impl Debug for NpcModelData
Source§impl Default for NpcModelData
impl Default for NpcModelData
Source§fn default() -> NpcModelData
fn default() -> NpcModelData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NpcModelData
impl<'de> Deserialize<'de> for NpcModelData
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
Source§impl Hash for NpcModelData
impl Hash for NpcModelData
Source§impl Ord for NpcModelData
impl Ord for NpcModelData
Source§fn cmp(&self, other: &NpcModelData) -> Ordering
fn cmp(&self, other: &NpcModelData) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NpcModelData
impl PartialEq for NpcModelData
Source§impl PartialOrd for NpcModelData
impl PartialOrd for NpcModelData
Source§impl Serialize for NpcModelData
impl Serialize for NpcModelData
impl Eq for NpcModelData
impl StructuralPartialEq for NpcModelData
Auto Trait Implementations§
impl Freeze for NpcModelData
impl RefUnwindSafe for NpcModelData
impl Send for NpcModelData
impl Sync for NpcModelData
impl Unpin for NpcModelData
impl UnwindSafe for NpcModelData
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more