Enum torn_api::faction::FactionSelection
source · #[non_exhaustive]pub enum FactionSelection {
Basic,
AttacksFull,
Attacks,
Territory,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl ApiSelection for FactionSelection
impl ApiSelection for FactionSelection
source§impl Clone for FactionSelection
impl Clone for FactionSelection
source§fn clone(&self) -> FactionSelection
fn clone(&self) -> FactionSelection
Returns a copy 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 FactionSelection
impl Debug for FactionSelection
impl Copy for FactionSelection
Auto Trait Implementations§
impl RefUnwindSafe for FactionSelection
impl Send for FactionSelection
impl Sync for FactionSelection
impl Unpin for FactionSelection
impl UnwindSafe for FactionSelection
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