Struct enet_sys::_ENetProtocolCommandHeader
source · #[repr(C, packed)]pub struct _ENetProtocolCommandHeader {
pub command: enet_uint8,
pub channelID: enet_uint8,
pub reliableSequenceNumber: enet_uint16,
}
Fields§
§command: enet_uint8
§channelID: enet_uint8
§reliableSequenceNumber: enet_uint16
Trait Implementations§
source§impl Clone for _ENetProtocolCommandHeader
impl Clone for _ENetProtocolCommandHeader
source§fn clone(&self) -> _ENetProtocolCommandHeader
fn clone(&self) -> _ENetProtocolCommandHeader
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 _ENetProtocolCommandHeader
Auto Trait Implementations§
impl RefUnwindSafe for _ENetProtocolCommandHeader
impl Send for _ENetProtocolCommandHeader
impl Sync for _ENetProtocolCommandHeader
impl Unpin for _ENetProtocolCommandHeader
impl UnwindSafe for _ENetProtocolCommandHeader
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