Struct nimble_protocol::client_to_host::JoinPlayerRequest
source · pub struct JoinPlayerRequest {
pub local_index: u8,
}
Fields§
§local_index: u8
Implementations§
source§impl JoinPlayerRequest
impl JoinPlayerRequest
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<()>
pub fn from_stream(stream: &mut impl ReadOctetStream) -> Result<Self>
Trait Implementations§
source§impl Clone for JoinPlayerRequest
impl Clone for JoinPlayerRequest
source§fn clone(&self) -> JoinPlayerRequest
fn clone(&self) -> JoinPlayerRequest
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 JoinPlayerRequest
impl Debug for JoinPlayerRequest
source§impl PartialEq for JoinPlayerRequest
impl PartialEq for JoinPlayerRequest
impl Copy for JoinPlayerRequest
impl StructuralPartialEq for JoinPlayerRequest
Auto Trait Implementations§
impl Freeze for JoinPlayerRequest
impl RefUnwindSafe for JoinPlayerRequest
impl Send for JoinPlayerRequest
impl Sync for JoinPlayerRequest
impl Unpin for JoinPlayerRequest
impl UnwindSafe for JoinPlayerRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)