[][src]Struct n2k::Name

pub struct Name { /* fields omitted */ }

Implementations

impl Name[src]

pub fn new(
    arbitrary_address_capable: bool,
    industry_group: u8,
    vehicle_system_instance: u8,
    vehicle_system: u8,
    function: u8,
    function_instance: u8,
    ecu_instance: u8,
    manufacturer_code: u16,
    identity_number: u32
) -> Self
[src]

pub fn arbitrary_address_capable(&self) -> bool[src]

pub fn industry_group(&self) -> u8[src]

pub fn vehicle_system_instance(&self) -> u8[src]

pub fn vehicle_system(&self) -> u8[src]

pub fn function(&self) -> u8[src]

pub fn function_instance(&self) -> u8[src]

pub fn ecu_instance(&self) -> u8[src]

pub fn manufacturer_code(&self) -> u16[src]

pub fn identity_number(&self) -> u32[src]

pub fn value(&self) -> u64[src]

Auto Trait Implementations

impl Send for Name

impl Sync for Name

impl Unpin for Name

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> Same<T> for T

type Output = T

Should always be Self

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.