Struct enet_sys::_ENetProtocolConnect
source · #[repr(C, packed)]pub struct _ENetProtocolConnect {Show 14 fields
pub header: ENetProtocolCommandHeader,
pub outgoingPeerID: enet_uint16,
pub incomingSessionID: enet_uint8,
pub outgoingSessionID: enet_uint8,
pub mtu: enet_uint32,
pub windowSize: enet_uint32,
pub channelCount: enet_uint32,
pub incomingBandwidth: enet_uint32,
pub outgoingBandwidth: enet_uint32,
pub packetThrottleInterval: enet_uint32,
pub packetThrottleAcceleration: enet_uint32,
pub packetThrottleDeceleration: enet_uint32,
pub connectID: enet_uint32,
pub data: enet_uint32,
}
Fields§
§header: ENetProtocolCommandHeader
§outgoingPeerID: enet_uint16
§incomingSessionID: enet_uint8
§outgoingSessionID: enet_uint8
§mtu: enet_uint32
§windowSize: enet_uint32
§channelCount: enet_uint32
§incomingBandwidth: enet_uint32
§outgoingBandwidth: enet_uint32
§packetThrottleInterval: enet_uint32
§packetThrottleAcceleration: enet_uint32
§packetThrottleDeceleration: enet_uint32
§connectID: enet_uint32
§data: enet_uint32
Trait Implementations§
source§impl Clone for _ENetProtocolConnect
impl Clone for _ENetProtocolConnect
source§fn clone(&self) -> _ENetProtocolConnect
fn clone(&self) -> _ENetProtocolConnect
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 _ENetProtocolConnect
Auto Trait Implementations§
impl RefUnwindSafe for _ENetProtocolConnect
impl Send for _ENetProtocolConnect
impl Sync for _ENetProtocolConnect
impl Unpin for _ENetProtocolConnect
impl UnwindSafe for _ENetProtocolConnect
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