Struct project4::virtio::virt_queue::VirtQueueEntry
source · #[repr(C)]pub struct VirtQueueEntry {
pub addr: Pa,
pub size: usize,
pub sector: usize,
pub cmd: VirtQueueEntryCmd,
}
Expand description
An entry for the virtqueue.
Fields§
§addr: Pa
§size: usize
§sector: usize
§cmd: VirtQueueEntryCmd
Trait Implementations§
source§impl Clone for VirtQueueEntry
impl Clone for VirtQueueEntry
source§fn clone(&self) -> VirtQueueEntry
fn clone(&self) -> VirtQueueEntry
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VirtQueueEntry
impl Debug for VirtQueueEntry
impl Copy for VirtQueueEntry
Auto Trait Implementations§
impl RefUnwindSafe for VirtQueueEntry
impl Send for VirtQueueEntry
impl Sync for VirtQueueEntry
impl Unpin for VirtQueueEntry
impl UnwindSafe for VirtQueueEntry
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more