Type Alias enet_sys::ENetProtocol

source ·
pub type ENetProtocol = _ENetProtocol;

Aliased Type§

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

source§

fn clone(&self) -> _ENetProtocol

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for _ENetProtocol