#[repr(u8)]pub enum FastClockMonth {
January = 1,
February = 2,
March = 3,
April = 4,
May = 5,
June = 6,
July = 7,
August = 8,
September = 9,
October = 10,
November = 11,
December = 12,
}Expand description
Month for fast clock implementation
The enum values represent the VLCB fast clock protocol specification for months.
Default value is 1 (FastClockMonth::January)
Variants§
January = 1
February = 2
March = 3
April = 4
May = 5
June = 6
July = 7
August = 8
September = 9
October = 10
November = 11
December = 12
Trait Implementations§
Source§impl Clone for FastClockMonth
impl Clone for FastClockMonth
Source§fn clone(&self) -> FastClockMonth
fn clone(&self) -> FastClockMonth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FastClockMonth
Source§impl Debug for FastClockMonth
impl Debug for FastClockMonth
impl Eq for FastClockMonth
Source§impl From<FastClockMonth> for u8
impl From<FastClockMonth> for u8
Source§fn from(enum_value: FastClockMonth) -> Self
fn from(enum_value: FastClockMonth) -> Self
Converts to this type from the input type.
Source§impl From<u8> for FastClockMonth
impl From<u8> for FastClockMonth
Source§impl FromPrimitive for FastClockMonth
impl FromPrimitive for FastClockMonth
Source§impl PartialEq for FastClockMonth
impl PartialEq for FastClockMonth
Source§fn eq(&self, other: &FastClockMonth) -> bool
fn eq(&self, other: &FastClockMonth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FastClockMonth
Auto Trait Implementations§
impl Freeze for FastClockMonth
impl RefUnwindSafe for FastClockMonth
impl Send for FastClockMonth
impl Sync for FastClockMonth
impl Unpin for FastClockMonth
impl UnsafeUnpin for FastClockMonth
impl UnwindSafe for FastClockMonth
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