pub struct StandardFlagConflict {
pub package: String,
pub language: SourceLanguage,
pub field: &'static str,
pub flag_list: &'static str,
pub flag: String,
pub target: Option<String>,
}Expand description
A first-class standard declaration conflicting with an explicit standard flag in the same package’s manifest-derived flags.
Fields§
§package: String§language: SourceLanguage§field: &'static strThe manifest field family that was declared (c-standard or
cxx-standard, at package or target level).
flag_list: &'static strThe flag list carrying the conflicting token (cflags or
cxxflags).
flag: String§target: Option<String>Scope of the conflicting declaration: Some(target) when a
target-level field created it (the ambiguity exists only on
that target’s compiles), None when the package-level field
did (every compile of the language is ambiguous). The build
planner uses the scope to surface a conflict only when a
matching compile is planned.
Trait Implementations§
Source§impl Clone for StandardFlagConflict
impl Clone for StandardFlagConflict
Source§fn clone(&self) -> StandardFlagConflict
fn clone(&self) -> StandardFlagConflict
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 moreSource§impl Debug for StandardFlagConflict
impl Debug for StandardFlagConflict
Source§impl Display for StandardFlagConflict
impl Display for StandardFlagConflict
impl Eq for StandardFlagConflict
Source§impl Error for StandardFlagConflict
impl Error for StandardFlagConflict
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for StandardFlagConflict
impl PartialEq for StandardFlagConflict
Source§fn eq(&self, other: &StandardFlagConflict) -> bool
fn eq(&self, other: &StandardFlagConflict) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StandardFlagConflict
Auto Trait Implementations§
impl Freeze for StandardFlagConflict
impl RefUnwindSafe for StandardFlagConflict
impl Send for StandardFlagConflict
impl Sync for StandardFlagConflict
impl Unpin for StandardFlagConflict
impl UnsafeUnpin for StandardFlagConflict
impl UnwindSafe for StandardFlagConflict
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.