pub struct ConsumerStandards {
pub c: Option<CStandard>,
pub cxx: Option<CxxStandard>,
}Expand description
Spec D7: a consumer’s compiled languages and effective compile
levels. langs(c) is the set of Some fields and lvl(c, L)
the carried level, so lvl is total on langs(c) by
construction. A header-only consumer compiles no language: both
fields None.
Fields§
§c: Option<CStandard>Spec D7: lvl(c, C) when C ∈ langs(c).
cxx: Option<CxxStandard>Spec D7: lvl(c, C++) when C++ ∈ langs(c).
Trait Implementations§
Source§impl Clone for ConsumerStandards
impl Clone for ConsumerStandards
Source§fn clone(&self) -> ConsumerStandards
fn clone(&self) -> ConsumerStandards
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 ConsumerStandards
Source§impl Debug for ConsumerStandards
impl Debug for ConsumerStandards
impl Eq for ConsumerStandards
Source§impl PartialEq for ConsumerStandards
impl PartialEq for ConsumerStandards
Source§fn eq(&self, other: &ConsumerStandards) -> bool
fn eq(&self, other: &ConsumerStandards) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConsumerStandards
Auto Trait Implementations§
impl Freeze for ConsumerStandards
impl RefUnwindSafe for ConsumerStandards
impl Send for ConsumerStandards
impl Sync for ConsumerStandards
impl Unpin for ConsumerStandards
impl UnsafeUnpin for ConsumerStandards
impl UnwindSafe for ConsumerStandards
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.