pub struct VirtioDeviceFeatures(/* private fields */);Implementations§
Source§impl VirtioDeviceFeatures
impl VirtioDeviceFeatures
pub fn new() -> Self
pub fn len(&self) -> usize
pub fn set_bank(&mut self, index: usize, val: u32)
pub fn with_bank(self, index: usize, val: u32) -> Self
pub fn with_bank0(self, bank0: VirtioDeviceFeaturesBank0) -> Self
pub fn with_bank1(self, bank1: VirtioDeviceFeaturesBank1) -> Self
pub fn bank(&self, index: usize) -> u32
pub fn bank0(&self) -> VirtioDeviceFeaturesBank0
pub fn bank1(&self) -> VirtioDeviceFeaturesBank1
Trait Implementations§
Source§impl Clone for VirtioDeviceFeatures
impl Clone for VirtioDeviceFeatures
Source§fn clone(&self) -> VirtioDeviceFeatures
fn clone(&self) -> VirtioDeviceFeatures
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VirtioDeviceFeatures
impl Debug for VirtioDeviceFeatures
Auto Trait Implementations§
impl Freeze for VirtioDeviceFeatures
impl RefUnwindSafe for VirtioDeviceFeatures
impl Send for VirtioDeviceFeatures
impl Sync for VirtioDeviceFeatures
impl Unpin for VirtioDeviceFeatures
impl UnwindSafe for VirtioDeviceFeatures
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