pub struct OutputPathSpec {
pub inputs: Option<Vec<PathBuf>>,
pub output_dir: Option<PathBuf>,
pub tree: bool,
pub file_prefix: Option<String>,
pub file_postfix: Option<String>,
pub sort: bool,
}
Expand description
output path spec
Fields§
§inputs: Option<Vec<PathBuf>>
inputs
output_dir: Option<PathBuf>
output_dir
tree: bool
tree
file_prefix: Option<String>
file_prefix
file_postfix: Option<String>
file_postfix
sort: bool
sort
Implementations§
Source§impl OutputPathSpec
impl OutputPathSpec
Sourcepub fn inputs<I>(self, inputs: I) -> Selfwhere
I: Into<InputPaths>,
pub fn inputs<I>(self, inputs: I) -> Selfwhere
I: Into<InputPaths>,
set inputs
Sourcepub fn output_dir<T>(self, output_dir: T) -> Selfwhere
T: Into<OutputDirType>,
pub fn output_dir<T>(self, output_dir: T) -> Selfwhere
T: Into<OutputDirType>,
set output_dir
Sourcepub fn file_prefix<T>(self, file_prefix: T) -> Self
pub fn file_prefix<T>(self, file_prefix: T) -> Self
set file_prefix
Sourcepub fn file_postfix<T>(self, file_postfix: T) -> Self
pub fn file_postfix<T>(self, file_postfix: T) -> Self
set file_postfix
Trait Implementations§
Source§impl Debug for OutputPathSpec
impl Debug for OutputPathSpec
Source§impl Default for OutputPathSpec
impl Default for OutputPathSpec
Source§fn default() -> OutputPathSpec
fn default() -> OutputPathSpec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OutputPathSpec
impl RefUnwindSafe for OutputPathSpec
impl Send for OutputPathSpec
impl Sync for OutputPathSpec
impl Unpin for OutputPathSpec
impl UnwindSafe for OutputPathSpec
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> 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