Struct evoke_core::client_server::PlayerId [−][src]
#[repr(transparent)]pub struct PlayerId(pub NonZeroU64);Expand description
Server-wide unique id generated by server and given to the client’s player.
Tuple Fields
0: NonZeroU64Trait Implementations
Packed value with this schema. Trivially readable from and writable to bytes. Read more
Alignment required for successful unpacking.
See Self::unpack method. Read more
Unpack the value from packed value and bytes.
input must be aligned according to Self::align. Read more
type Unpacked = Result<Self, ZeroPlayerIdError>
type Unpacked = Result<Self, ZeroPlayerIdError>
Unpacked value type.
Auto Trait Implementations
impl RefUnwindSafe for PlayerId
impl UnwindSafe for PlayerId
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more