pub enum NativePlatform {
Linux,
MacOs,
Windows,
}Expand description
Native backend selected for the compilation target.
Variants§
Linux
Linux sealed anonymous memfd mappings.
MacOs
macOS Mach VM memory-entry mappings.
Windows
Windows unnamed paging-file section mappings.
Trait Implementations§
Source§impl Clone for NativePlatform
impl Clone for NativePlatform
Source§fn clone(&self) -> NativePlatform
fn clone(&self) -> NativePlatform
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 NativePlatform
Source§impl Debug for NativePlatform
impl Debug for NativePlatform
impl Eq for NativePlatform
Source§impl PartialEq for NativePlatform
impl PartialEq for NativePlatform
impl StructuralPartialEq for NativePlatform
Auto Trait Implementations§
impl Freeze for NativePlatform
impl RefUnwindSafe for NativePlatform
impl Send for NativePlatform
impl Sync for NativePlatform
impl Unpin for NativePlatform
impl UnsafeUnpin for NativePlatform
impl UnwindSafe for NativePlatform
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