pub struct LiteFlags(pub u8);Expand description
GET_LITE_STATUS flags.
Tuple Fields§
§0: u8Implementations§
Source§impl LiteFlags
impl LiteFlags
pub const OFFSET_VALID: LiteFlags
pub const EGRESS_VALID: LiteFlags
Sourcepub const ESCALATION_ALLOWED: LiteFlags
pub const ESCALATION_ALLOWED: LiteFlags
Talkers on the interface may escalate streams to multicast.
pub const fn empty() -> Self
pub const fn bits(self) -> u8
pub const fn is_empty(self) -> bool
pub const fn union(self, other: Self) -> Self
pub const fn difference(self, other: Self) -> Self
Sourcepub fn names(self) -> impl Iterator<Item = &'static str>
pub fn names(self) -> impl Iterator<Item = &'static str>
The standard’s names of the bits set, in bit order; bits it does not name are left out.
pub fn set(&mut self, other: Self, on: bool)
Trait Implementations§
Source§impl BitOrAssign for LiteFlags
impl BitOrAssign for LiteFlags
Source§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|= operation. Read moreimpl Copy for LiteFlags
impl Eq for LiteFlags
impl StructuralPartialEq for LiteFlags
Auto Trait Implementations§
impl Forget for LiteFlags
impl Freeze for LiteFlags
impl Move for LiteFlags
impl RefUnwindSafe for LiteFlags
impl Send for LiteFlags
impl Sync for LiteFlags
impl Unpin for LiteFlags
impl UnsafeUnpin for LiteFlags
impl UnwindSafe for LiteFlags
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