pub struct MediaClockReferenceFlags(pub u8);Expand description
SET_MEDIA_CLOCK_REFERENCE_INFO flags (Table 5.18): which values are valid, which also means the entity lets a controller change them.
Tuple Fields§
§0: u8Implementations§
Source§impl MediaClockReferenceFlags
impl MediaClockReferenceFlags
pub const PRIORITY_VALID: MediaClockReferenceFlags
pub const DOMAIN_NAME_VALID: MediaClockReferenceFlags
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 BitAnd for MediaClockReferenceFlags
impl BitAnd for MediaClockReferenceFlags
Source§impl BitOr for MediaClockReferenceFlags
impl BitOr for MediaClockReferenceFlags
Source§impl BitOrAssign for MediaClockReferenceFlags
impl BitOrAssign for MediaClockReferenceFlags
Source§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|= operation. Read moreSource§impl Clone for MediaClockReferenceFlags
impl Clone for MediaClockReferenceFlags
impl Copy for MediaClockReferenceFlags
Source§impl Debug for MediaClockReferenceFlags
impl Debug for MediaClockReferenceFlags
Source§impl Default for MediaClockReferenceFlags
impl Default for MediaClockReferenceFlags
impl Eq for MediaClockReferenceFlags
Source§impl Hash for MediaClockReferenceFlags
impl Hash for MediaClockReferenceFlags
Source§impl PartialEq for MediaClockReferenceFlags
impl PartialEq for MediaClockReferenceFlags
impl StructuralPartialEq for MediaClockReferenceFlags
Auto Trait Implementations§
impl Forget for MediaClockReferenceFlags
impl Freeze for MediaClockReferenceFlags
impl Move for MediaClockReferenceFlags
impl RefUnwindSafe for MediaClockReferenceFlags
impl Send for MediaClockReferenceFlags
impl Sync for MediaClockReferenceFlags
impl Unpin for MediaClockReferenceFlags
impl UnsafeUnpin for MediaClockReferenceFlags
impl UnwindSafe for MediaClockReferenceFlags
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