pub enum PhysicalMemorySemantics {
Unified,
SeparateTiers,
Unknown,
}Expand description
Physical relationship between logical host and device tiers.
Variants§
Unified
Host and accelerator allocations share physical capacity.
SeparateTiers
Host and accelerator memory are physically separate.
Unknown
The backend cannot determine the relationship.
Trait Implementations§
Source§impl Clone for PhysicalMemorySemantics
impl Clone for PhysicalMemorySemantics
Source§fn clone(&self) -> PhysicalMemorySemantics
fn clone(&self) -> PhysicalMemorySemantics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PhysicalMemorySemantics
Source§impl Debug for PhysicalMemorySemantics
impl Debug for PhysicalMemorySemantics
Source§impl<'de> Deserialize<'de> for PhysicalMemorySemantics
impl<'de> Deserialize<'de> for PhysicalMemorySemantics
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
impl Eq for PhysicalMemorySemantics
Source§impl PartialEq for PhysicalMemorySemantics
impl PartialEq for PhysicalMemorySemantics
Source§impl Serialize for PhysicalMemorySemantics
impl Serialize for PhysicalMemorySemantics
impl StructuralPartialEq for PhysicalMemorySemantics
Auto Trait Implementations§
impl Freeze for PhysicalMemorySemantics
impl RefUnwindSafe for PhysicalMemorySemantics
impl Send for PhysicalMemorySemantics
impl Sync for PhysicalMemorySemantics
impl Unpin for PhysicalMemorySemantics
impl UnsafeUnpin for PhysicalMemorySemantics
impl UnwindSafe for PhysicalMemorySemantics
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