Struct enet_sys::_ENetProtocolDisconnect
source · #[repr(C, packed)]pub struct _ENetProtocolDisconnect {
pub header: ENetProtocolCommandHeader,
pub data: enet_uint32,
}
Fields§
§header: ENetProtocolCommandHeader
§data: enet_uint32
Trait Implementations§
source§impl Clone for _ENetProtocolDisconnect
impl Clone for _ENetProtocolDisconnect
source§fn clone(&self) -> _ENetProtocolDisconnect
fn clone(&self) -> _ENetProtocolDisconnect
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 moreimpl Copy for _ENetProtocolDisconnect
Auto Trait Implementations§
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