pub struct WaypointFaction {
pub symbol: FactionSymbols,
}Expand description
The faction that controls the waypoint.
Fields§
§symbol: FactionSymbolsImplementations§
Source§impl WaypointFaction
impl WaypointFaction
Sourcepub fn new(symbol: FactionSymbols) -> WaypointFaction
pub fn new(symbol: FactionSymbols) -> WaypointFaction
Create value with optional fields set to None.
Trait Implementations§
Source§impl Clone for WaypointFaction
impl Clone for WaypointFaction
Source§fn clone(&self) -> WaypointFaction
fn clone(&self) -> WaypointFaction
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 WaypointFaction
impl Debug for WaypointFaction
Source§impl<'de> Deserialize<'de> for WaypointFaction
impl<'de> Deserialize<'de> for WaypointFaction
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 PartialEq for WaypointFaction
impl PartialEq for WaypointFaction
Source§impl Serialize for WaypointFaction
impl Serialize for WaypointFaction
impl StructuralPartialEq for WaypointFaction
Auto Trait Implementations§
impl Freeze for WaypointFaction
impl RefUnwindSafe for WaypointFaction
impl Send for WaypointFaction
impl Sync for WaypointFaction
impl Unpin for WaypointFaction
impl UnwindSafe for WaypointFaction
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