pub struct Number(/* private fields */);
Expand description
A Number is the machine’s floating point number type.
Implementations§
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
impl Copy for Number
Auto Trait Implementations§
impl Freeze for Number
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnwindSafe for Number
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