Struct veloren_common::comp::chat::Faction
source · pub struct Faction(pub String);
Expand description
Player factions are used to coordinate pvp vs hostile factions or segment chat from the world
Factions are currently just an associated String (the faction’s name)
Tuple Fields§
§0: String
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Faction
impl Send for Faction
impl Sync for Faction
impl Unpin for Faction
impl UnwindSafe for Faction
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