pub struct WSL_DISTRIBUTION_FLAGS(/* private fields */);Expand description
Flags specifying WSL behavior
Implementations§
Source§impl WSL_DISTRIBUTION_FLAGS
impl WSL_DISTRIBUTION_FLAGS
Sourcepub const ENABLE_INTEROP: Self
pub const ENABLE_INTEROP: Self
Allow the distribution to interoperate with Windows processes (for example,
the user can invoke cmd.exe or notepad.exe from within a WSL session).
Sourcepub const APPEND_NT_PATH: Self
pub const APPEND_NT_PATH: Self
Add the Windows %PATH% environment variable values to WSL sessions.
Sourcepub const ENABLE_DRIVE_MOUNTING: Self
pub const ENABLE_DRIVE_MOUNTING: Self
Automatically mount Windows drives inside of WSL sessions (for example,
C: will be available under /mnt/c).
Trait Implementations§
Source§impl BitAnd for WSL_DISTRIBUTION_FLAGS
impl BitAnd for WSL_DISTRIBUTION_FLAGS
Source§impl BitAndAssign for WSL_DISTRIBUTION_FLAGS
impl BitAndAssign for WSL_DISTRIBUTION_FLAGS
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for WSL_DISTRIBUTION_FLAGS
impl BitOr for WSL_DISTRIBUTION_FLAGS
Source§impl BitOrAssign for WSL_DISTRIBUTION_FLAGS
impl BitOrAssign for WSL_DISTRIBUTION_FLAGS
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for WSL_DISTRIBUTION_FLAGS
impl Clone for WSL_DISTRIBUTION_FLAGS
Source§fn clone(&self) -> WSL_DISTRIBUTION_FLAGS
fn clone(&self) -> WSL_DISTRIBUTION_FLAGS
Returns a duplicate 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 Debug for WSL_DISTRIBUTION_FLAGS
impl Debug for WSL_DISTRIBUTION_FLAGS
Source§impl Default for WSL_DISTRIBUTION_FLAGS
impl Default for WSL_DISTRIBUTION_FLAGS
Source§impl From<WSL_DISTRIBUTION_FLAGS> for u32
impl From<WSL_DISTRIBUTION_FLAGS> for u32
Source§fn from(value: WSL_DISTRIBUTION_FLAGS) -> Self
fn from(value: WSL_DISTRIBUTION_FLAGS) -> Self
Converts to this type from the input type.
Source§impl From<u32> for WSL_DISTRIBUTION_FLAGS
impl From<u32> for WSL_DISTRIBUTION_FLAGS
Source§impl Hash for WSL_DISTRIBUTION_FLAGS
impl Hash for WSL_DISTRIBUTION_FLAGS
Source§impl Ord for WSL_DISTRIBUTION_FLAGS
impl Ord for WSL_DISTRIBUTION_FLAGS
Source§fn cmp(&self, other: &WSL_DISTRIBUTION_FLAGS) -> Ordering
fn cmp(&self, other: &WSL_DISTRIBUTION_FLAGS) -> 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 WSL_DISTRIBUTION_FLAGS
impl PartialEq for WSL_DISTRIBUTION_FLAGS
Source§impl PartialOrd for WSL_DISTRIBUTION_FLAGS
impl PartialOrd for WSL_DISTRIBUTION_FLAGS
impl Copy for WSL_DISTRIBUTION_FLAGS
impl Eq for WSL_DISTRIBUTION_FLAGS
impl StructuralPartialEq for WSL_DISTRIBUTION_FLAGS
Auto Trait Implementations§
impl Freeze for WSL_DISTRIBUTION_FLAGS
impl RefUnwindSafe for WSL_DISTRIBUTION_FLAGS
impl Send for WSL_DISTRIBUTION_FLAGS
impl Sync for WSL_DISTRIBUTION_FLAGS
impl Unpin for WSL_DISTRIBUTION_FLAGS
impl UnwindSafe for WSL_DISTRIBUTION_FLAGS
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