Struct classicube_relay::packet::PlayerScope
source ·
[−]pub struct PlayerScope {
pub player_id: u8,
}
Expand description
a single player
Fields
player_id: u8
target player id if from client
sender player id if from server
Implementations
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PlayerScope
impl Send for PlayerScope
impl Sync for PlayerScope
impl Unpin for PlayerScope
impl UnwindSafe for PlayerScope
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