pub struct DeclaredCfg<'a> { /* private fields */ }Expand description
A caller-declared complete target triple and cfg set, never inferred from this host.
The caller supplies package-specific flags, including build-script cfg. This is not observed Cargo state: agreeing triples do not authenticate predicates or require different packages’ custom cfg sets to be identical.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for DeclaredCfg<'a>
impl<'a> Clone for DeclaredCfg<'a>
impl<'a> Copy for DeclaredCfg<'a>
Auto Trait Implementations§
impl<'a> Forget for DeclaredCfg<'a>
impl<'a> Freeze for DeclaredCfg<'a>
impl<'a> Move for DeclaredCfg<'a>
impl<'a> RefUnwindSafe for DeclaredCfg<'a>
impl<'a> Send for DeclaredCfg<'a>
impl<'a> Sync for DeclaredCfg<'a>
impl<'a> Unpin for DeclaredCfg<'a>
impl<'a> UnsafeUnpin for DeclaredCfg<'a>
impl<'a> UnwindSafe for DeclaredCfg<'a>
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,
impl<T> EvidenceLease for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more