[−][src]Struct bgb_link::commands::RawBgbCommand
Contains the raw structure of a BGB command.
Fields
b1: u8
b2: u8
b3: u8
b4: u8
i1: 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]
fn clone(&self) -> RawBgbCommand
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RawBgbCommand
[src]
impl PartialEq<RawBgbCommand> for RawBgbCommand
[src]
fn eq(&self, other: &RawBgbCommand) -> bool
[src]
fn ne(&self, other: &RawBgbCommand) -> bool
[src]
impl StructuralPartialEq for RawBgbCommand
[src]
Auto Trait Implementations
impl RefUnwindSafe for RawBgbCommand
impl Send for RawBgbCommand
impl Sync for RawBgbCommand
impl Unpin for RawBgbCommand
impl UnwindSafe for RawBgbCommand
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,