[−][src]Struct can_dbc::Signal
One or multiple signals are the payload of a CAN frame.
To determine the actual value of a signal the following fn applies:
let fnvalue = |can_signal_value| -> can_signal_value * factor + offset;
Fields
start_bit: u64
signal_size: u64
factor: f64
offset: f64
min: f64
max: f64
Implementations
impl Signal
[src]
pub fn name(&self) -> &String
[src]
pub fn multiplexer_indicator(&self) -> &MultiplexIndicator
[src]
pub fn start_bit(&self) -> &u64
[src]
pub fn signal_size(&self) -> &u64
[src]
pub fn byte_order(&self) -> &ByteOrder
[src]
pub fn value_type(&self) -> &ValueType
[src]
pub fn factor(&self) -> &f64
[src]
pub fn offset(&self) -> &f64
[src]
pub fn min(&self) -> &f64
[src]
pub fn max(&self) -> &f64
[src]
pub fn unit(&self) -> &String
[src]
pub fn receivers(&self) -> &Vec<String>
[src]
Trait Implementations
impl Clone for Signal
[src]
impl Debug for Signal
[src]
impl PartialEq<Signal> for Signal
[src]
impl StructuralPartialEq for Signal
[src]
Auto Trait Implementations
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnwindSafe for Signal
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>,