pub enum TargetFamily {
Unix,
Windows,
Wasm,
}
Expand description
An enumeration of target family types
Variants§
Unix
The environment is some form of unix
Windows
The environment is some form of windows
Wasm
The environment is wasm
Trait Implementations§
Source§impl Clone for TargetFamily
impl Clone for TargetFamily
Source§fn clone(&self) -> TargetFamily
fn clone(&self) -> TargetFamily
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TargetFamily
impl Debug for TargetFamily
Source§impl TryFrom<&str> for TargetFamily
impl TryFrom<&str> for TargetFamily
impl Copy for TargetFamily
Auto Trait Implementations§
impl Freeze for TargetFamily
impl RefUnwindSafe for TargetFamily
impl Send for TargetFamily
impl Sync for TargetFamily
impl Unpin for TargetFamily
impl UnwindSafe for TargetFamily
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