pub struct ClockSourceDescriptor {
pub clock_id: u8,
pub attributes_bitmap: u8,
pub controls_bitmap: u8,
pub associated_terminal: u8,
pub clock_name: StringIndex,
}Expand description
Clock source descriptor defining an audio clock source.
Fields§
§clock_id: u8Unique identifier for this clock source.
attributes_bitmap: u8Bitmap of clock source attributes.
controls_bitmap: u8Bitmap of supported controls.
associated_terminal: u8Associated terminal ID.
clock_name: StringIndexIndex of string descriptor describing this clock source.
Trait Implementations§
Source§impl Clone for ClockSourceDescriptor
impl Clone for ClockSourceDescriptor
Source§fn clone(&self) -> ClockSourceDescriptor
fn clone(&self) -> ClockSourceDescriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClockSourceDescriptor
impl Debug for ClockSourceDescriptor
Source§impl Format for ClockSourceDescriptorwhere
StringIndex: Format,
impl Format for ClockSourceDescriptorwhere
StringIndex: Format,
Source§impl PartialEq for ClockSourceDescriptor
impl PartialEq for ClockSourceDescriptor
impl Eq for ClockSourceDescriptor
impl StructuralPartialEq for ClockSourceDescriptor
Auto Trait Implementations§
impl Freeze for ClockSourceDescriptor
impl RefUnwindSafe for ClockSourceDescriptor
impl Send for ClockSourceDescriptor
impl Sync for ClockSourceDescriptor
impl Unpin for ClockSourceDescriptor
impl UnwindSafe for ClockSourceDescriptor
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