#[repr(C)]pub struct _ENetPacket {
pub flags: u32,
pub dataLength: u32,
pub data: *mut u8,
pub freeCallback: ENetPacketFreeCallback,
pub referenceCount: u32,
pub userData: *mut c_void,
}Fields§
§flags: u32§dataLength: u32§data: *mut u8§freeCallback: ENetPacketFreeCallback§referenceCount: u32§userData: *mut c_voidTrait Implementations§
Source§impl Clone for _ENetPacket
impl Clone for _ENetPacket
Source§fn clone(&self) -> _ENetPacket
fn clone(&self) -> _ENetPacket
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 moreSource§impl Debug for _ENetPacket
impl Debug for _ENetPacket
impl Copy for _ENetPacket
Auto Trait Implementations§
impl Freeze for _ENetPacket
impl RefUnwindSafe for _ENetPacket
impl !Send for _ENetPacket
impl !Sync for _ENetPacket
impl Unpin for _ENetPacket
impl UnwindSafe for _ENetPacket
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