#[repr(C, packed(1))]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_uint32Trait Implementations§
Source§impl Clone for _ENetProtocolSendFragment
impl Clone for _ENetProtocolSendFragment
Source§fn clone(&self) -> _ENetProtocolSendFragment
fn clone(&self) -> _ENetProtocolSendFragment
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 _ENetProtocolSendFragment
Auto Trait Implementations§
impl Freeze for _ENetProtocolSendFragment
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