pub struct SourceSpec {
pub name: String,
pub channels: u8,
pub time_base: TimeBase,
pub capacity: usize,
}Expand description
A source of logic samples, as Graph::source takes it.
Fields§
§name: StringThe source’s name, for diagnostics and statistics.
channels: u8Its channels, at most MAX_CHANNELS.
time_base: TimeBaseIts clock.
capacity: usizeThe blocks the source holds for its readers before Pipeline::push reports it full.
Implementations§
Trait Implementations§
Source§impl Clone for SourceSpec
impl Clone for SourceSpec
Source§impl Debug for SourceSpec
impl Debug for SourceSpec
impl Eq for SourceSpec
Source§impl PartialEq for SourceSpec
impl PartialEq for SourceSpec
impl StructuralPartialEq for SourceSpec
Auto Trait Implementations§
impl Freeze for SourceSpec
impl RefUnwindSafe for SourceSpec
impl Send for SourceSpec
impl Sync for SourceSpec
impl Unpin for SourceSpec
impl UnsafeUnpin for SourceSpec
impl UnwindSafe for SourceSpec
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