pub enum CycleRepetition {
C1,
C2,
C4,
C5,
C8,
C10,
C16,
C20,
C32,
C40,
C50,
C64,
}
Expand description
The cycle repetition of a Flexray frame, from the Flexray standard
Variants§
C1
1 - sent every cycle
C2
2 - sent every second cycle
C4
4 - sent every fourth cycle
C5
5 - sent every fifth cycle (Flexray 3.0 only)
C8
8 - sent every eighth cycle
C10
10 - sent every tenth cycle (Flexray 3.0 only)
C16
16 - sent every sixteenth cycle
C20
20 - sent every twentieth cycle (Flexray 3.0 only)
C32
32 - sent every thirty-second cycle
C40
40 - sent every fortieth cycle (Flexray 3.0 only)
C50
50 - sent every fiftieth cycle (Flexray 3.0 only)
C64
64 - sent every sixty-fourth cycle
Trait Implementations§
Source§impl Clone for CycleRepetition
impl Clone for CycleRepetition
Source§fn clone(&self) -> CycleRepetition
fn clone(&self) -> CycleRepetition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CycleRepetition
impl Debug for CycleRepetition
Source§impl From<CycleRepetition> for EnumItem
impl From<CycleRepetition> for EnumItem
Source§fn from(value: CycleRepetition) -> Self
fn from(value: CycleRepetition) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CycleRepetition
impl PartialEq for CycleRepetition
Source§impl TryFrom<EnumItem> for CycleRepetition
impl TryFrom<EnumItem> for CycleRepetition
impl Copy for CycleRepetition
impl Eq for CycleRepetition
impl StructuralPartialEq for CycleRepetition
Auto Trait Implementations§
impl Freeze for CycleRepetition
impl RefUnwindSafe for CycleRepetition
impl Send for CycleRepetition
impl Sync for CycleRepetition
impl Unpin for CycleRepetition
impl UnwindSafe for CycleRepetition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.