pub struct Rows { /* private fields */ }Expand description
Rows chosen from the form, the rate and the profile alone: each sample is its own instant’s value, so any span reads what one whole span reads there.
Implementations§
Source§impl Rows
impl Rows
Sourcepub fn of(
form: &ClosedForm,
rate: u32,
profile: &Profile,
) -> Result<Rows, CollapseError>
pub fn of( form: &ClosedForm, rate: u32, profile: &Profile, ) -> Result<Rows, CollapseError>
collapse::render’s dispatch.
pub fn of_spectral_sum_or_point( sum: &SpectralSum, written: Option<&ClosedForm>, rate: u32, profile: &Profile, ) -> Result<Rows, CollapseError>
pub fn width(&self) -> usize
Sourcepub fn label(&self, profile: &Profile) -> Label
pub fn label(&self, profile: &Profile) -> Label
How exact these rows are, stated once for every sample they write.
Sourcepub fn lines(&self) -> Option<Vec<f64>>
pub fn lines(&self) -> Option<Vec<f64>>
The lines a row of lines sums, each lane’s, as hertz; None for any other row.
Sourcepub fn planes(&self, from: i64, to: i64) -> Result<Vec<Vec<f64>>, CollapseError>
pub fn planes(&self, from: i64, to: i64) -> Result<Vec<Vec<f64>>, CollapseError>
[from, to) of every component, on the grid’s own index.
Auto Trait Implementations§
impl Freeze for Rows
impl RefUnwindSafe for Rows
impl Send for Rows
impl Sync for Rows
impl Unpin for Rows
impl UnsafeUnpin for Rows
impl UnwindSafe for Rows
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