pub struct StateLayout {
pub state_slots: usize,
pub delay_lens: Vec<usize>,
}Expand description
Layout describing pre-allocated persistent storage.
Fields§
§state_slots: usizeNumber of scalar feedback state slots.
delay_lens: Vec<usize>Length (in samples) of each delay line.
Trait Implementations§
Source§impl Clone for StateLayout
impl Clone for StateLayout
Source§fn clone(&self) -> StateLayout
fn clone(&self) -> StateLayout
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 moreSource§impl Debug for StateLayout
impl Debug for StateLayout
Source§impl Default for StateLayout
impl Default for StateLayout
Source§fn default() -> StateLayout
fn default() -> StateLayout
Returns the “default value” for a type. Read more
Source§impl PartialEq for StateLayout
impl PartialEq for StateLayout
Source§fn eq(&self, other: &StateLayout) -> bool
fn eq(&self, other: &StateLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StateLayout
Auto Trait Implementations§
impl Freeze for StateLayout
impl RefUnwindSafe for StateLayout
impl Send for StateLayout
impl Sync for StateLayout
impl Unpin for StateLayout
impl UnsafeUnpin for StateLayout
impl UnwindSafe for StateLayout
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