#[repr(u8)]pub enum CabDataCode {
CabSignalling = 1,
}Expand description
Defines the meaning of the remaining 3 bytes of the CABDAT message
Variants§
CabSignalling = 1
CABSIG Transmitted by a layout control system to send signal aspects to be displayed on a cab handset as cab signalling.
Trait Implementations§
Source§impl Clone for CabDataCode
impl Clone for CabDataCode
Source§fn clone(&self) -> CabDataCode
fn clone(&self) -> CabDataCode
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 CabDataCode
Source§impl Debug for CabDataCode
impl Debug for CabDataCode
impl Eq for CabDataCode
Source§impl From<CabDataCode> for u8
impl From<CabDataCode> for u8
Source§fn from(enum_value: CabDataCode) -> Self
fn from(enum_value: CabDataCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CabDataCode
impl PartialEq for CabDataCode
Source§fn eq(&self, other: &CabDataCode) -> bool
fn eq(&self, other: &CabDataCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CabDataCode
Source§impl TryFrom<u8> for CabDataCode
impl TryFrom<u8> for CabDataCode
Source§type Error = TryFromPrimitiveError<CabDataCode>
type Error = TryFromPrimitiveError<CabDataCode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for CabDataCode
impl TryFromPrimitive for CabDataCode
const NAME: &'static str = "CabDataCode"
type Primitive = u8
type Error = TryFromPrimitiveError<CabDataCode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl UnsafeFromPrimitive for CabDataCode
impl UnsafeFromPrimitive for CabDataCode
type Primitive = u8
Source§unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
Transmutes into an enum from its primitive. Read more
Source§unsafe fn from_unchecked(number: Self::Primitive) -> Self
unsafe fn from_unchecked(number: Self::Primitive) -> Self
👎Deprecated since 0.6.0:
Prefer to use unchecked_transmute_from, from_unchecked will be removed in a future release.
Transmutes into an enum from its primitive. Read more
Auto Trait Implementations§
impl Freeze for CabDataCode
impl RefUnwindSafe for CabDataCode
impl Send for CabDataCode
impl Sync for CabDataCode
impl Unpin for CabDataCode
impl UnsafeUnpin for CabDataCode
impl UnwindSafe for CabDataCode
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