[][src]Struct async_resol_vbus::specification_file::PacketTemplateFieldPart

pub struct PacketTemplateFieldPart {
    pub offset: i32,
    pub bit_pos: u8,
    pub mask: u8,
    pub is_signed: bool,
    pub factor: i64,
}

Contains information about one part of a packet field's raw value.

Fields

offset: i32

The offset into the frame data payload.

bit_pos: u8

The bit position from which the part starts.

mask: u8

The bit mask that is applied to this part's value.

is_signed: bool

Whether this part is signed (= sign-extended) or not (= zero-extended).

factor: i64

The factor this part is multiplied with.

Trait Implementations

impl Clone for PacketTemplateFieldPart[src]

impl Debug for PacketTemplateFieldPart[src]

impl PartialEq<PacketTemplateFieldPart> for PacketTemplateFieldPart[src]

impl StructuralPartialEq for PacketTemplateFieldPart[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.