Union enet_sys::_ENetProtocol
source · #[repr(C, packed)]
pub union _ENetProtocol {
pub header: ENetProtocolCommandHeader,
pub acknowledge: ENetProtocolAcknowledge,
pub connect: ENetProtocolConnect,
pub verifyConnect: ENetProtocolVerifyConnect,
pub disconnect: ENetProtocolDisconnect,
pub ping: ENetProtocolPing,
pub sendReliable: ENetProtocolSendReliable,
pub sendUnreliable: ENetProtocolSendUnreliable,
pub sendUnsequenced: ENetProtocolSendUnsequenced,
pub sendFragment: ENetProtocolSendFragment,
pub bandwidthLimit: ENetProtocolBandwidthLimit,
pub throttleConfigure: ENetProtocolThrottleConfigure,
}
Fields§
§header: ENetProtocolCommandHeader
§acknowledge: ENetProtocolAcknowledge
§connect: ENetProtocolConnect
§verifyConnect: ENetProtocolVerifyConnect
§disconnect: ENetProtocolDisconnect
§ping: ENetProtocolPing
§sendReliable: ENetProtocolSendReliable
§sendUnreliable: ENetProtocolSendUnreliable
§sendUnsequenced: ENetProtocolSendUnsequenced
§sendFragment: ENetProtocolSendFragment
§bandwidthLimit: ENetProtocolBandwidthLimit
§throttleConfigure: ENetProtocolThrottleConfigure
Trait Implementations§
source§impl Clone for _ENetProtocol
impl Clone for _ENetProtocol
source§fn clone(&self) -> _ENetProtocol
fn clone(&self) -> _ENetProtocol
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 _ENetProtocol
Auto Trait Implementations§
impl RefUnwindSafe for _ENetProtocol
impl Send for _ENetProtocol
impl Sync for _ENetProtocol
impl Unpin for _ENetProtocol
impl UnwindSafe for _ENetProtocol
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