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