Trait virt::state::HvRegisterState

source ·
pub trait HvRegisterState<T, const COUNT: usize>: Default {
    // Required methods
    fn names(&self) -> &'static [T; COUNT];
    fn get_values<'a>(&self, it: impl Iterator<Item = &'a mut HvRegisterValue>);
    fn set_values(&mut self, it: impl Iterator<Item = HvRegisterValue>);
}

Required Methods§

source

fn names(&self) -> &'static [T; COUNT]

source

fn get_values<'a>(&self, it: impl Iterator<Item = &'a mut HvRegisterValue>)

source

fn set_values(&mut self, it: impl Iterator<Item = HvRegisterValue>)

Object Safety§

This trait is not object safe.

Implementors§