pub struct PcHandle(pub u64);
Expand description
A randomly generated identifier that differentiates different player characters.
One player character will retain the same PcHandle for their entire lifetime.
Tuple Fields
0: u64
Trait Implementations
sourceimpl<'de> Deserialize<'de> for PcHandle
impl<'de> Deserialize<'de> for PcHandle
sourcefn 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
impl Copy for PcHandle
impl Eq for PcHandle
impl StructuralEq for PcHandle
impl StructuralPartialEq for PcHandle
Auto Trait Implementations
impl RefUnwindSafe for PcHandle
impl Send for PcHandle
impl Sync for PcHandle
impl Unpin for PcHandle
impl UnwindSafe for PcHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more