pub struct SilentEntitySystem {
pub number_of_entities: u16,
pub entity_type: EntityType,
pub appearances: Vec<EntityAppearance>,
}Expand description
6.2.79 Silent Entity System record
Fields§
§number_of_entities: u16§entity_type: EntityType§appearances: Vec<EntityAppearance>Implementations§
Source§impl SilentEntitySystem
impl SilentEntitySystem
pub fn with_number_of_entities(self, number_of_entities: u16) -> Self
pub fn with_entity_type(self, entity_type: EntityType) -> Self
pub fn with_appearance(self, appearance: EntityAppearance) -> Self
pub fn with_appearances(self, appearances: Vec<EntityAppearance>) -> Self
pub fn record_length(&self) -> u16
Trait Implementations§
Source§impl Clone for SilentEntitySystem
impl Clone for SilentEntitySystem
Source§fn clone(&self) -> SilentEntitySystem
fn clone(&self) -> SilentEntitySystem
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 SilentEntitySystem
impl Debug for SilentEntitySystem
Source§impl Default for SilentEntitySystem
impl Default for SilentEntitySystem
Source§fn default() -> SilentEntitySystem
fn default() -> SilentEntitySystem
Returns the “default value” for a type. Read more
Source§impl PartialEq for SilentEntitySystem
impl PartialEq for SilentEntitySystem
impl StructuralPartialEq for SilentEntitySystem
Auto Trait Implementations§
impl Freeze for SilentEntitySystem
impl RefUnwindSafe for SilentEntitySystem
impl Send for SilentEntitySystem
impl Sync for SilentEntitySystem
impl Unpin for SilentEntitySystem
impl UnwindSafe for SilentEntitySystem
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