#[repr(C, packed(1))]pub struct _ENetProtocolDisconnect {
pub header: ENetProtocolCommandHeader,
pub data: enet_uint32,
}Fields§
§header: ENetProtocolCommandHeader§data: enet_uint32Trait Implementations§
Source§impl Clone for _ENetProtocolDisconnect
impl Clone for _ENetProtocolDisconnect
Source§fn clone(&self) -> _ENetProtocolDisconnect
fn clone(&self) -> _ENetProtocolDisconnect
Returns a duplicate 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 moreimpl Copy for _ENetProtocolDisconnect
Auto Trait Implementations§
impl Freeze for _ENetProtocolDisconnect
impl RefUnwindSafe for _ENetProtocolDisconnect
impl Send for _ENetProtocolDisconnect
impl Sync for _ENetProtocolDisconnect
impl Unpin for _ENetProtocolDisconnect
impl UnwindSafe for _ENetProtocolDisconnect
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