pub struct ExternalSourceStates {
pub sources: Vec<ClockSource>,
pub locked: Vec<bool>,
pub slipped: Vec<bool>,
}
Expand description
The states of external signal sources of sampling clock.
Fields§
§sources: Vec<ClockSource>
The list of external sources. Internal clock source is always excluded.
locked: Vec<bool>
Whether to lock the corresponding source or not. Any change is notified.
slipped: Vec<bool>
Whether to detect slipped for the sorresponding source since the last read operation. Any change is not notified.
Trait Implementations§
Source§impl Clone for ExternalSourceStates
impl Clone for ExternalSourceStates
Source§fn clone(&self) -> ExternalSourceStates
fn clone(&self) -> ExternalSourceStates
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 ExternalSourceStates
impl Debug for ExternalSourceStates
Source§impl Default for ExternalSourceStates
impl Default for ExternalSourceStates
Source§fn default() -> ExternalSourceStates
fn default() -> ExternalSourceStates
Returns the “default value” for a type. Read more
Source§impl PartialEq for ExternalSourceStates
impl PartialEq for ExternalSourceStates
impl Eq for ExternalSourceStates
impl StructuralPartialEq for ExternalSourceStates
Auto Trait Implementations§
impl Freeze for ExternalSourceStates
impl RefUnwindSafe for ExternalSourceStates
impl Send for ExternalSourceStates
impl Sync for ExternalSourceStates
impl Unpin for ExternalSourceStates
impl UnwindSafe for ExternalSourceStates
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