pub enum TdmSlot {
Show 16 variants
Slot0,
Slot1,
Slot2,
Slot3,
Slot4,
Slot5,
Slot6,
Slot7,
Slot8,
Slot9,
Slot10,
Slot11,
Slot12,
Slot13,
Slot14,
Slot15,
}
Expand description
An individual TDM slot.
Variants§
Slot0
TDM slot #0
Slot1
TDM slot #1
Slot2
TDM slot #2
Slot3
TDM slot #3
Slot4
TDM slot #4
Slot5
TDM slot #5
Slot6
TDM slot #6
Slot7
TDM slot #7
Slot8
TDM slot #8
Slot9
TDM slot #9
Slot10
TDM slot #10
Slot11
TDM slot #11
Slot12
TDM slot #12
Slot13
TDM slot #13
Slot14
TDM slot #14
Slot15
TDM slot #15
Trait Implementations§
source§impl BitAnd<TdmSlot> for TdmSlotMask
impl BitAnd<TdmSlot> for TdmSlotMask
Bitwise AND a TdmSlotMask
with a TdmSlot
to produce a TdmSlotMask
.
If the slot mask contains the slot, the result is a TdmSlotMask
containing that slot.
Otherwise, the result is an empty slot mask.
§type Output = TdmSlotMask
type Output = TdmSlotMask
&
operator.source§impl BitAnd<TdmSlotMask> for TdmSlot
impl BitAnd<TdmSlotMask> for TdmSlot
Bitwise AND a TdmSlot
with a TdmSlotMask
to produce a TdmSlotMask
.
If the slot mask contains the slot, the result is a TdmSlotMask
containing that slot.
Otherwise, the result is an empty slot mask.
§type Output = TdmSlotMask
type Output = TdmSlotMask
&
operator.source§fn bitand(self, rhs: TdmSlotMask) -> <TdmSlot as BitAnd<TdmSlotMask>>::Output
fn bitand(self, rhs: TdmSlotMask) -> <TdmSlot as BitAnd<TdmSlotMask>>::Output
&
operation. Read moresource§impl BitAnd for TdmSlot
impl BitAnd for TdmSlot
Bitwise AND aTdmSlot
with another TdmSlot
to produce a TdmSlotMask
.
If the slots are the same, the result is a TdmSlotMask
containing that slot.
Otherwise, the result is an empty slot mask.
source§impl BitAndAssign<TdmSlot> for TdmSlotMask
impl BitAndAssign<TdmSlot> for TdmSlotMask
Bitwise AND a TdmSlotMask
with a TdmSlot
and assign the result to self
.
If the slot mask contains the slot, the result is a TdmSlotMask
containing that slot.
Otherwise, the result is an empty slot mask.
source§fn bitand_assign(&mut self, rhs: TdmSlot)
fn bitand_assign(&mut self, rhs: TdmSlot)
&=
operation. Read moresource§impl BitOr<TdmSlot> for TdmSlotMask
impl BitOr<TdmSlot> for TdmSlotMask
Bitwise OR aTdmSlotMask
with a TdmSlot
to produce a TdmSlotMask
.
The result is a TdmSlotMask
containing the slot and all slots in the slot mask.
§type Output = TdmSlotMask
type Output = TdmSlotMask
|
operator.source§impl BitOr<TdmSlotMask> for TdmSlot
impl BitOr<TdmSlotMask> for TdmSlot
Bitwise OR aTdmSlot
with a TdmSlotMask
to produce a TdmSlotMask
.
The result is a TdmSlotMask
containing the slot and all slots in the slot mask.
§type Output = TdmSlotMask
type Output = TdmSlotMask
|
operator.source§fn bitor(self, rhs: TdmSlotMask) -> <TdmSlot as BitOr<TdmSlotMask>>::Output
fn bitor(self, rhs: TdmSlotMask) -> <TdmSlot as BitOr<TdmSlotMask>>::Output
|
operation. Read moresource§impl BitOr for TdmSlot
impl BitOr for TdmSlot
Bitwise OR aTdmSlot
with another TdmSlot
to produce a TdmSlotMask
.
The result is a TdmSlotMask
containing both slots.
source§impl BitOrAssign<TdmSlot> for TdmSlotMask
impl BitOrAssign<TdmSlot> for TdmSlotMask
Bitwise OR aTdmSlotMask
with a TdmSlot
and assign the result to self
.
The result is a TdmSlotMask
containing the slot and all slots in the slot mask.
source§fn bitor_assign(&mut self, rhs: TdmSlot)
fn bitor_assign(&mut self, rhs: TdmSlot)
|=
operation. Read moresource§impl From<TdmSlot> for TdmSlotMask
impl From<TdmSlot> for TdmSlotMask
Convert a TdmSlot
into a TdmSlotMask
.
source§fn from(slot: TdmSlot) -> TdmSlotMask
fn from(slot: TdmSlot) -> TdmSlotMask
source§impl Not for TdmSlot
impl Not for TdmSlot
Produce the bitwise NOT of a TdmSlot
to produce a TdmSlotMask
containing all slots
except the original slot.