Struct ieee802154::mac::beacon::GuaranteedTimeSlotInformation
source · [−]pub struct GuaranteedTimeSlotInformation {
pub permit: bool,
/* private fields */
}
Expand description
Information of the guaranteed time slots (GTSs)
Fields
permit: bool
Permit GTS
Implementations
sourceimpl GuaranteedTimeSlotInformation
impl GuaranteedTimeSlotInformation
sourcepub fn slots(&self) -> &[GuaranteedTimeSlotDescriptor]
pub fn slots(&self) -> &[GuaranteedTimeSlotDescriptor]
Get the slots as a slice
Trait Implementations
sourceimpl Clone for GuaranteedTimeSlotInformation
impl Clone for GuaranteedTimeSlotInformation
sourcefn clone(&self) -> GuaranteedTimeSlotInformation
fn clone(&self) -> GuaranteedTimeSlotInformation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GuaranteedTimeSlotInformation
impl Debug for GuaranteedTimeSlotInformation
sourceimpl Hash for GuaranteedTimeSlotInformation
impl Hash for GuaranteedTimeSlotInformation
sourceimpl PartialEq<GuaranteedTimeSlotInformation> for GuaranteedTimeSlotInformation
impl PartialEq<GuaranteedTimeSlotInformation> for GuaranteedTimeSlotInformation
sourcefn eq(&self, other: &GuaranteedTimeSlotInformation) -> bool
fn eq(&self, other: &GuaranteedTimeSlotInformation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl TryRead<'_, ()> for GuaranteedTimeSlotInformation
impl TryRead<'_, ()> for GuaranteedTimeSlotInformation
sourceimpl TryWrite<()> for GuaranteedTimeSlotInformation
impl TryWrite<()> for GuaranteedTimeSlotInformation
impl Copy for GuaranteedTimeSlotInformation
impl Eq for GuaranteedTimeSlotInformation
impl StructuralEq for GuaranteedTimeSlotInformation
impl StructuralPartialEq for GuaranteedTimeSlotInformation
Auto Trait Implementations
impl RefUnwindSafe for GuaranteedTimeSlotInformation
impl Send for GuaranteedTimeSlotInformation
impl Sync for GuaranteedTimeSlotInformation
impl Unpin for GuaranteedTimeSlotInformation
impl UnwindSafe for GuaranteedTimeSlotInformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more