pub enum PlayerType {
Local,
AI(AIConfig),
Remote,
}Variants§
Trait Implementations§
Source§impl Clone for PlayerType
impl Clone for PlayerType
Source§fn clone(&self) -> PlayerType
fn clone(&self) -> PlayerType
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 PlayerType
impl Debug for PlayerType
Source§impl<'de> Deserialize<'de> for PlayerType
impl<'de> Deserialize<'de> for PlayerType
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 PlayerType
impl PartialEq for PlayerType
Source§impl Serialize for PlayerType
impl Serialize for PlayerType
impl Copy for PlayerType
impl StructuralPartialEq for PlayerType
Auto Trait Implementations§
impl Freeze for PlayerType
impl RefUnwindSafe for PlayerType
impl Send for PlayerType
impl Sync for PlayerType
impl Unpin for PlayerType
impl UnwindSafe for PlayerType
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