pub struct OutputTarget {
pub path: PathBuf,
pub existing: ExistingOutput,
}Expand description
Where an output goes and what it does with a file already there.
Fields§
§path: PathBufThe output’s final path.
existing: ExistingOutputWhat happens to a file already at path.
Implementations§
Trait Implementations§
Source§impl Clone for OutputTarget
impl Clone for OutputTarget
Source§impl Debug for OutputTarget
impl Debug for OutputTarget
impl Eq for OutputTarget
Source§impl From<&OutputTarget> for OutputTarget
impl From<&OutputTarget> for OutputTarget
Source§fn from(target: &OutputTarget) -> Self
fn from(target: &OutputTarget) -> Self
Converts to this type from the input type.
Source§impl From<&Path> for OutputTarget
impl From<&Path> for OutputTarget
Source§impl From<&PathBuf> for OutputTarget
impl From<&PathBuf> for OutputTarget
Source§impl From<&String> for OutputTarget
impl From<&String> for OutputTarget
Source§impl From<&str> for OutputTarget
impl From<&str> for OutputTarget
Source§impl From<PathBuf> for OutputTarget
impl From<PathBuf> for OutputTarget
Source§impl From<String> for OutputTarget
impl From<String> for OutputTarget
Source§impl PartialEq for OutputTarget
impl PartialEq for OutputTarget
impl StructuralPartialEq for OutputTarget
Auto Trait Implementations§
impl Freeze for OutputTarget
impl RefUnwindSafe for OutputTarget
impl Send for OutputTarget
impl Sync for OutputTarget
impl Unpin for OutputTarget
impl UnsafeUnpin for OutputTarget
impl UnwindSafe for OutputTarget
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
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.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