Struct osiris_process::register::floating_point::Vector
source · pub struct Vector { /* private fields */ }Implementations§
source§impl Vector
impl Vector
pub fn new() -> Self
pub fn set(&mut self, register: RegisterId, number: Number)
pub fn get(&self, register: RegisterId) -> Number
pub fn apply(&self, range: RegisterRange, function: VectorApplication) -> Number
pub fn slice(&self, range: RegisterRange) -> &[Number]
pub fn copy(&mut self, to: RegisterId, slice: &[Number])
Trait Implementations§
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