enum VirtioGpuRing {
Global,
ContextSpecific {
ctx_id: u32,
ring_idx: u8,
},
}Variants§
Trait Implementations§
Source§impl Clone for VirtioGpuRing
impl Clone for VirtioGpuRing
Source§fn clone(&self) -> VirtioGpuRing
fn clone(&self) -> VirtioGpuRing
Returns a copy 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<'de> Deserialize<'de> for VirtioGpuRing
impl<'de> Deserialize<'de> for VirtioGpuRing
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for VirtioGpuRing
impl Ord for VirtioGpuRing
Source§fn cmp(&self, other: &VirtioGpuRing) -> Ordering
fn cmp(&self, other: &VirtioGpuRing) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VirtioGpuRing
impl PartialEq for VirtioGpuRing
Source§impl PartialOrd for VirtioGpuRing
impl PartialOrd for VirtioGpuRing
Source§impl Serialize for VirtioGpuRing
impl Serialize for VirtioGpuRing
impl Eq for VirtioGpuRing
impl StructuralPartialEq for VirtioGpuRing
Auto Trait Implementations§
impl Freeze for VirtioGpuRing
impl RefUnwindSafe for VirtioGpuRing
impl Send for VirtioGpuRing
impl Sync for VirtioGpuRing
impl Unpin for VirtioGpuRing
impl UnwindSafe for VirtioGpuRing
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