Struct enet_sys::_ENetProtocolSendFragment
source · #[repr(C, packed)]pub struct _ENetProtocolSendFragment {
pub header: ENetProtocolCommandHeader,
pub startSequenceNumber: enet_uint16,
pub dataLength: enet_uint16,
pub fragmentCount: enet_uint32,
pub fragmentNumber: enet_uint32,
pub totalLength: enet_uint32,
pub fragmentOffset: enet_uint32,
}
Fields§
§header: ENetProtocolCommandHeader
§startSequenceNumber: enet_uint16
§dataLength: enet_uint16
§fragmentCount: enet_uint32
§fragmentNumber: enet_uint32
§totalLength: enet_uint32
§fragmentOffset: enet_uint32
Trait Implementations§
source§impl Clone for _ENetProtocolSendFragment
impl Clone for _ENetProtocolSendFragment
source§fn clone(&self) -> _ENetProtocolSendFragment
fn clone(&self) -> _ENetProtocolSendFragment
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 _ENetProtocolSendFragment
Auto Trait Implementations§
impl RefUnwindSafe for _ENetProtocolSendFragment
impl Send for _ENetProtocolSendFragment
impl Sync for _ENetProtocolSendFragment
impl Unpin for _ENetProtocolSendFragment
impl UnwindSafe for _ENetProtocolSendFragment
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