#[repr(C, packed(1))]pub struct _ENetProtocolCommandHeader {
pub command: enet_uint8,
pub channelID: enet_uint8,
pub reliableSequenceNumber: enet_uint16,
}Fields§
§command: enet_uint8§channelID: enet_uint8§reliableSequenceNumber: enet_uint16Trait Implementations§
Source§impl Clone for _ENetProtocolCommandHeader
impl Clone for _ENetProtocolCommandHeader
Source§fn clone(&self) -> _ENetProtocolCommandHeader
fn clone(&self) -> _ENetProtocolCommandHeader
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 _ENetProtocolCommandHeader
Auto Trait Implementations§
impl Freeze for _ENetProtocolCommandHeader
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