pub struct Vector { /* private fields */ }
Expand description
The register bank of floating point values.
The struct contains the whole register array.
Trait Implementations§
Source§impl RegisterBank<Number> for Vector
impl RegisterBank<Number> for Vector
Source§fn set(&mut self, register: RegisterId, number: Number)
fn set(&mut self, register: RegisterId, number: Number)
Sets a specific register in the bank.
Source§fn get(&self, register: RegisterId) -> Number
fn get(&self, register: RegisterId) -> Number
Gets a specific register from the bank.
Source§fn apply(&self, range: RegisterRange, function: VectorApplication) -> Number
fn apply(&self, range: RegisterRange, function: VectorApplication) -> Number
Apply the specified RangeApplication in the bank on the specified RegisterRange.
Source§fn slice(&self, range: RegisterRange) -> &[Number]
fn slice(&self, range: RegisterRange) -> &[Number]
Return a slice from the specified range in the bank.
Source§fn copy(&mut self, to: RegisterId, slice: &[Number])
fn copy(&mut self, to: RegisterId, slice: &[Number])
Copy the specified slice into the bank to the specified RegisterId and nexts. Read more
Auto Trait Implementations§
impl Freeze for Vector
impl RefUnwindSafe for Vector
impl Send for Vector
impl Sync for Vector
impl Unpin for Vector
impl UnwindSafe for Vector
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