Struct osiris_process::register::integral::Bank
source · pub struct Bank { /* private fields */ }Implementations§
source§impl Bank
impl Bank
pub fn new() -> Self
pub fn set(&mut self, register: RegisterId, word: Word)
pub fn get(&self, register: RegisterId) -> Word
pub fn apply(&self, range: RegisterRange, function: RangeApplication) -> Word
pub fn slice(&self, range: RegisterRange) -> &[Word]
pub fn copy(&mut self, to: RegisterId, slice: &[Word])
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bank
impl RefUnwindSafe for Bank
impl Send for Bank
impl Sync for Bank
impl Unpin for Bank
impl UnwindSafe for Bank
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