pub struct PlayerCharacterOrNone(pub Option<PlayerCharacter>);Tuple Fields§
§0: Option<PlayerCharacter>Trait Implementations§
Source§impl Clone for PlayerCharacterOrNone
impl Clone for PlayerCharacterOrNone
Source§fn clone(&self) -> PlayerCharacterOrNone
fn clone(&self) -> PlayerCharacterOrNone
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 PlayerCharacterOrNone
impl Debug for PlayerCharacterOrNone
Source§impl<'de> Deserialize<'de> for PlayerCharacterOrNone
impl<'de> Deserialize<'de> for PlayerCharacterOrNone
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 PlayerCharacterOrNone
impl PartialEq for PlayerCharacterOrNone
Source§impl Serialize for PlayerCharacterOrNone
impl Serialize for PlayerCharacterOrNone
impl Copy for PlayerCharacterOrNone
impl Eq for PlayerCharacterOrNone
impl StructuralPartialEq for PlayerCharacterOrNone
Auto Trait Implementations§
impl Freeze for PlayerCharacterOrNone
impl RefUnwindSafe for PlayerCharacterOrNone
impl Send for PlayerCharacterOrNone
impl Sync for PlayerCharacterOrNone
impl Unpin for PlayerCharacterOrNone
impl UnwindSafe for PlayerCharacterOrNone
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