Enum ntcip::dms::config::DmsSignTechnology
source · #[repr(u16)]pub enum DmsSignTechnology {
Other = 1,
Led = 2,
FlipDisk = 4,
FiberOptics = 8,
Shuttered = 16,
Bulb = 32,
Drum = 64,
}
Expand description
Sign technology
Variants§
Trait Implementations§
source§impl BitAnd for DmsSignTechnology
impl BitAnd for DmsSignTechnology
source§impl BitFlag for DmsSignTechnology
impl BitFlag for DmsSignTechnology
source§fn empty() -> BitFlags<Self>
fn empty() -> BitFlags<Self>
Create a
BitFlags
with no flags set (in other words, with a value of 0). Read moresource§fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
Create a
BitFlags
if the raw value provided does not contain
any illegal flags. Read moresource§fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags
from an underlying bitwise value. If any
invalid bits are set, ignore them. Read moresource§unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags
unsafely, without checking if the bits form
a valid bit pattern for the type. Read moresource§impl BitOr for DmsSignTechnology
impl BitOr for DmsSignTechnology
source§impl BitXor for DmsSignTechnology
impl BitXor for DmsSignTechnology
source§impl Clone for DmsSignTechnology
impl Clone for DmsSignTechnology
source§fn clone(&self) -> DmsSignTechnology
fn clone(&self) -> DmsSignTechnology
Returns a copy 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 DmsSignTechnology
impl Debug for DmsSignTechnology
source§impl Not for DmsSignTechnology
impl Not for DmsSignTechnology
source§impl PartialEq for DmsSignTechnology
impl PartialEq for DmsSignTechnology
source§fn eq(&self, other: &DmsSignTechnology) -> bool
fn eq(&self, other: &DmsSignTechnology) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RawBitFlags for DmsSignTechnology
impl RawBitFlags for DmsSignTechnology
source§const EMPTY: Self::Numeric = {transmute(0x0000): <dms::config::DmsSignTechnology as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x0000): <dms::config::DmsSignTechnology as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
source§const DEFAULT: Self::Numeric = {transmute(0x0000): <dms::config::DmsSignTechnology as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x0000): <dms::config::DmsSignTechnology as enumflags2::_internal::RawBitFlags>::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless
customized.
source§const ALL_BITS: Self::Numeric = {transmute(0x007f): <dms::config::DmsSignTechnology as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x007f): <dms::config::DmsSignTechnology as enumflags2::_internal::RawBitFlags>::Numeric}
A value with all flag bits set.
source§const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<DmsSignTechnology>"
const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<DmsSignTechnology>"
The name of the type for debug formatting purposes. Read more
impl Copy for DmsSignTechnology
impl Eq for DmsSignTechnology
impl StructuralPartialEq for DmsSignTechnology
Auto Trait Implementations§
impl Freeze for DmsSignTechnology
impl RefUnwindSafe for DmsSignTechnology
impl Send for DmsSignTechnology
impl Sync for DmsSignTechnology
impl Unpin for DmsSignTechnology
impl UnwindSafe for DmsSignTechnology
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