pub enum PlatformMemory {
Handle(Handle),
Ptr(Ptr),
}
Expand description
Representation of an os specific memory.
Variants§
Implementations§
Trait Implementations§
Source§impl From<Handle> for PlatformMemory
impl From<Handle> for PlatformMemory
Source§fn from(handle: Handle) -> PlatformMemory
fn from(handle: Handle) -> PlatformMemory
Converts to this type from the input type.
Source§impl From<Ptr> for PlatformMemory
impl From<Ptr> for PlatformMemory
Source§fn from(ptr: Ptr) -> PlatformMemory
fn from(ptr: Ptr) -> PlatformMemory
Converts to this type from the input type.
Source§impl TryInto<Handle> for PlatformMemory
impl TryInto<Handle> for PlatformMemory
Auto Trait Implementations§
impl Freeze for PlatformMemory
impl RefUnwindSafe for PlatformMemory
impl !Send for PlatformMemory
impl !Sync for PlatformMemory
impl Unpin for PlatformMemory
impl UnwindSafe for PlatformMemory
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