pub struct TdmSlotMask(/* private fields */);Expand description
Mask of TDM slots to enable.
Implementations§
Source§impl TdmSlotMask
 
impl TdmSlotMask
Sourcepub fn from_mask_value(value: u16) -> TdmSlotMask
 
pub fn from_mask_value(value: u16) -> TdmSlotMask
Creates a TdmSlotMask from the raw bit mask value.
Sourcepub fn mask_value(&self) -> u16
 
pub fn mask_value(&self) -> u16
Returns the mask value as a u16.
Trait Implementations§
Source§impl BitAnd<TdmSlot> for TdmSlotMask
Bitwise AND a TdmSlotMask with a TdmSlot to produce a 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.
Source§impl BitAnd<TdmSlotMask> for TdmSlot
Bitwise AND a TdmSlot with a TdmSlotMask to produce a TdmSlotMask.
 
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.
Source§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 TdmSlotMask
Bitwise AND a TdmSlotMask with another TdmSlotMask to produce a TdmSlotMask.
 
impl BitAnd for TdmSlotMask
Bitwise AND a TdmSlotMask with another TdmSlotMask to produce a TdmSlotMask.
The result is a slot mask containing the slots that are common to both slot masks.
Source§type Output = TdmSlotMask
 
type Output = TdmSlotMask
& operator.Source§fn bitand(self, rhs: TdmSlotMask) -> <TdmSlotMask as BitAnd>::Output
 
fn bitand(self, rhs: TdmSlotMask) -> <TdmSlotMask as BitAnd>::Output
& operation. Read moreSource§impl BitAndAssign<TdmSlot> for TdmSlotMask
Bitwise AND a TdmSlotMask with a TdmSlot and assign the result to self.
 
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 BitAndAssign for TdmSlotMask
Bitwise AND a TdmSlotMask with another TdmSlotMask and assign the result to self.
 
impl BitAndAssign for TdmSlotMask
Bitwise AND a TdmSlotMask with another TdmSlotMask and assign the result to self.
The result is a slot mask containing the slots that are common to both slot masks.
Source§fn bitand_assign(&mut self, rhs: TdmSlotMask)
 
fn bitand_assign(&mut self, rhs: TdmSlotMask)
&= operation. Read moreSource§impl BitOr<TdmSlot> for TdmSlotMask
Bitwise OR aTdmSlotMask with a TdmSlot to produce a 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.
Source§impl BitOr<TdmSlotMask> for TdmSlot
Bitwise OR aTdmSlot with a TdmSlotMask to produce a TdmSlotMask.
 
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.
Source§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 TdmSlotMask
Bitwise OR aTdmSlotMask with another TdmSlotMask to produce a TdmSlotMask.
 
impl BitOr for TdmSlotMask
Bitwise OR aTdmSlotMask with another TdmSlotMask to produce a TdmSlotMask.
The result is a TdmSlotMask containing the slots in either slot mask.
Source§type Output = TdmSlotMask
 
type Output = TdmSlotMask
| operator.Source§fn bitor(self, rhs: TdmSlotMask) -> <TdmSlotMask as BitOr>::Output
 
fn bitor(self, rhs: TdmSlotMask) -> <TdmSlotMask as BitOr>::Output
| operation. Read moreSource§impl BitOrAssign<TdmSlot> for TdmSlotMask
Bitwise OR aTdmSlotMask with a TdmSlot and assign the result to self.
 
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 BitOrAssign for TdmSlotMask
Bitwise OR aTdmSlotMask with another TdmSlotMask and assign the result to `self.
 
impl BitOrAssign for TdmSlotMask
Bitwise OR aTdmSlotMask with another TdmSlotMask and assign the result to `self.
The result is a TdmSlotMask containing the slots in either slot mask.
Source§fn bitor_assign(&mut self, rhs: TdmSlotMask)
 
fn bitor_assign(&mut self, rhs: TdmSlotMask)
|= operation. Read moreSource§impl Clone for TdmSlotMask
 
impl Clone for TdmSlotMask
Source§fn clone(&self) -> TdmSlotMask
 
fn clone(&self) -> TdmSlotMask
1.0.0§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TdmSlotMask
 
impl Debug for TdmSlotMask
Source§impl Default for TdmSlotMask
 
impl Default for TdmSlotMask
Source§fn default() -> TdmSlotMask
 
fn default() -> TdmSlotMask
Source§impl From<TdmSlot> for TdmSlotMask
Convert a TdmSlot into a 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 TdmSlotMask
Produce the bitwise NOT of a TdmSlotMask to produce a TdmSlotMask containing all slots
except the slots in the original slot mask.
 
impl Not for TdmSlotMask
Produce the bitwise NOT of a TdmSlotMask to produce a TdmSlotMask containing all slots
except the slots in the original slot mask.
Source§type Output = TdmSlotMask
 
type Output = TdmSlotMask
! operator.Source§fn not(self) -> <TdmSlotMask as Not>::Output
 
fn not(self) -> <TdmSlotMask as Not>::Output
! operation. Read moreSource§impl PartialEq for TdmSlotMask
 
impl PartialEq for TdmSlotMask
impl Copy for TdmSlotMask
impl Eq for TdmSlotMask
impl StructuralPartialEq for TdmSlotMask
Auto Trait Implementations§
impl Freeze for TdmSlotMask
impl RefUnwindSafe for TdmSlotMask
impl Send for TdmSlotMask
impl Sync for TdmSlotMask
impl Unpin for TdmSlotMask
impl UnwindSafe for TdmSlotMask
Blanket Implementations§
§impl<T> Any for Twhere
    T: 'static + ?Sized,
 
impl<T> Any for Twhere
    T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
    T: ?Sized,
 
impl<T> Borrow<T> for Twhere
    T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
 
unsafe fn clone_to_uninit(&self, dst: *mut u8)
clone_to_uninit)