[][src]Struct bgb_link::commands::RawBgbCommand

pub struct RawBgbCommand {
    pub b1: u8,
    pub b2: u8,
    pub b3: u8,
    pub b4: u8,
    pub i1: u32,
}

Contains the raw structure of a BGB command.

Fields

b1: u8b2: u8b3: u8b4: u8i1: u32

Methods

impl RawBgbCommand[src]

pub fn deserialize(bytes: &[u8; 8]) -> RawBgbCommand[src]

Reads the fields from a serialized BGB command.

Trait Implementations

impl BgbCommand for RawBgbCommand[src]

impl Clone for RawBgbCommand[src]

impl Debug for RawBgbCommand[src]

impl PartialEq<RawBgbCommand> for RawBgbCommand[src]

impl StructuralPartialEq for RawBgbCommand[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.