pub struct CharacterBundle {
pub id: CharacterId,
pub name: String,
pub kind: CharacterKind,
pub archetype: ClassArchetype,
pub level: u32,
pub spawn_position: (f32, f32, f32),
pub faction: Option<String>,
pub is_player_controlled: bool,
pub tags: Vec<String>,
}Fields§
§id: CharacterId§name: String§kind: CharacterKind§archetype: ClassArchetype§level: u32§spawn_position: (f32, f32, f32)§faction: Option<String>§is_player_controlled: boolImplementations§
Trait Implementations§
Source§impl Clone for CharacterBundle
impl Clone for CharacterBundle
Source§fn clone(&self) -> CharacterBundle
fn clone(&self) -> CharacterBundle
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 moreAuto Trait Implementations§
impl Freeze for CharacterBundle
impl RefUnwindSafe for CharacterBundle
impl Send for CharacterBundle
impl Sync for CharacterBundle
impl Unpin for CharacterBundle
impl UnsafeUnpin for CharacterBundle
impl UnwindSafe for CharacterBundle
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