Struct airmash_protocol::Level[][src]

pub struct Level(pub u8);

Type-safe Level identifier

Methods

impl Level
[src]

Trait Implementations

impl Copy for Level
[src]

impl Clone for Level
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Level
[src]

impl Hash for Level
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Level
[src]

Formats the value using the given formatter. Read more

impl Default for Level
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Level
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<u8> for Level
[src]

Performs the conversion.

impl From<Level> for u8
[src]

Performs the conversion.

impl Add for Level
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub for Level
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl AddAssign for Level
[src]

Performs the += operation.

impl Serialize for Level
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Level
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Level

impl Sync for Level