[][src]Struct oxygengine_network::client::MessageID

pub struct MessageID(_, _);

Methods

impl MessageID[src]

pub fn new(id: u32, version: u32) -> Self[src]

pub fn id(self) -> u32[src]

pub fn version(self) -> u32[src]

Trait Implementations

impl Copy for MessageID[src]

impl PartialEq<MessageID> for MessageID[src]

impl Clone for MessageID[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Ord for MessageID[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl From<(u32, u32)> for MessageID[src]

impl From<[u32; 2]> for MessageID[src]

impl Eq for MessageID[src]

impl PartialOrd<MessageID> for MessageID[src]

impl Debug for MessageID[src]

Auto Trait Implementations

impl Send for MessageID

impl Sync for MessageID

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Resource for T where
    T: Any + Send + Sync

impl<T> Event for T where
    T: Send + Sync + 'static, 

impl<T> Erased for T