[][src]Struct can_dbc::DBC

pub struct DBC { /* fields omitted */ }

Implementations

impl DBC[src]

impl DBC[src]

pub fn from_slice(buffer: &[u8]) -> Result<DBC, Error>[src]

Read a DBC from a buffer

pub fn signal_by_name(
    &self,
    message_id: MessageId,
    signal_name: &str
) -> Option<&Signal>
[src]

pub fn message_comment(&self, message_id: MessageId) -> Option<&str>[src]

Lookup a message comment

pub fn signal_comment(
    &self,
    message_id: MessageId,
    signal_name: &str
) -> Option<&str>
[src]

Lookup a signal comment

pub fn value_descriptions_for_signal(
    &self,
    message_id: MessageId,
    signal_name: &str
) -> Option<&[ValDescription]>
[src]

Lookup value descriptions for signal

pub fn extended_value_type_for_signal(
    &self,
    message_id: MessageId,
    signal_name: &str
) -> Option<&SignalExtendedValueType>
[src]

Lookup the extended value for a given signal

pub fn message_multiplexor_switch(
    &self,
    message_id: MessageId
) -> Option<&Signal>
[src]

Lookup the message multiplexor switch signal for a given message

Trait Implementations

impl Clone for DBC[src]

impl Debug for DBC[src]

impl PartialEq<DBC> for DBC[src]

impl StructuralPartialEq for DBC[src]

Auto Trait Implementations

impl RefUnwindSafe for DBC

impl Send for DBC

impl Sync for DBC

impl Unpin for DBC

impl UnwindSafe for DBC

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.