Struct target_lexicon::DefaultToUnknown
source · pub struct DefaultToUnknown(pub Triple);
Expand description
A simple wrapper around Triple
that provides an implementation of
Default
which defaults to Triple::unknown()
.
Tuple Fields§
§0: Triple
Trait Implementations§
source§impl Clone for DefaultToUnknown
impl Clone for DefaultToUnknown
source§fn clone(&self) -> DefaultToUnknown
fn clone(&self) -> DefaultToUnknown
Returns a copy 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 DefaultToUnknown
impl Debug for DefaultToUnknown
source§impl Default for DefaultToUnknown
impl Default for DefaultToUnknown
source§impl Hash for DefaultToUnknown
impl Hash for DefaultToUnknown
source§impl PartialEq for DefaultToUnknown
impl PartialEq for DefaultToUnknown
impl Eq for DefaultToUnknown
impl StructuralPartialEq for DefaultToUnknown
Auto Trait Implementations§
impl Freeze for DefaultToUnknown
impl RefUnwindSafe for DefaultToUnknown
impl Send for DefaultToUnknown
impl Sync for DefaultToUnknown
impl Unpin for DefaultToUnknown
impl UnwindSafe for DefaultToUnknown
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)