pub struct ClockStatus {
pub src_is_locked: bool,
pub rate: ClockRate,
}
Expand description
Status of sampling clock.
Fields§
§src_is_locked: bool
Whether the current clock source is locked.
rate: ClockRate
The detected frequency of media clock.
Trait Implementations§
Source§impl Clone for ClockStatus
impl Clone for ClockStatus
Source§fn clone(&self) -> ClockStatus
fn clone(&self) -> ClockStatus
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 ClockStatus
impl Debug for ClockStatus
Source§impl Default for ClockStatus
impl Default for ClockStatus
Source§fn default() -> ClockStatus
fn default() -> ClockStatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for ClockStatus
impl PartialEq for ClockStatus
impl Copy for ClockStatus
impl Eq for ClockStatus
impl StructuralPartialEq for ClockStatus
Auto Trait Implementations§
impl Freeze for ClockStatus
impl RefUnwindSafe for ClockStatus
impl Send for ClockStatus
impl Sync for ClockStatus
impl Unpin for ClockStatus
impl UnwindSafe for ClockStatus
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