pub struct StreamSpec {
pub channels: usize,
pub nominal_srate: f64,
}Expand description
Description of one input stream fed into StreamAligner.
Fields§
§channels: usizeNumber of numeric channels in this stream.
nominal_srate: f64Nominal sampling rate of this stream in Hz (must be positive and finite).
Trait Implementations§
Source§impl Clone for StreamSpec
impl Clone for StreamSpec
Source§fn clone(&self) -> StreamSpec
fn clone(&self) -> StreamSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamSpec
Source§impl Debug for StreamSpec
impl Debug for StreamSpec
Source§impl PartialEq for StreamSpec
impl PartialEq for StreamSpec
impl StructuralPartialEq for StreamSpec
Auto Trait Implementations§
impl Forget for StreamSpec
impl Freeze for StreamSpec
impl Move for StreamSpec
impl RefUnwindSafe for StreamSpec
impl Send for StreamSpec
impl Sync for StreamSpec
impl Unpin for StreamSpec
impl UnsafeUnpin for StreamSpec
impl UnwindSafe for StreamSpec
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