pub struct RunTarget {
pub name: String,
pub from: TargetSource,
}Expand description
The run’s target: --target, else DRE_TARGET, else dev. It’s target.name in templates.
Fields§
§name: String§from: TargetSourceImplementations§
Trait Implementations§
impl Eq for RunTarget
impl StructuralPartialEq for RunTarget
Auto Trait Implementations§
impl Freeze for RunTarget
impl RefUnwindSafe for RunTarget
impl Send for RunTarget
impl Sync for RunTarget
impl Unpin for RunTarget
impl UnsafeUnpin for RunTarget
impl UnwindSafe for RunTarget
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.