pub struct SlideOutputs {
pub tile_dir: Option<PathBuf>,
pub tfrecord_file: Option<PathBuf>,
pub report_path: Option<PathBuf>,
}Expand description
Destination paths for the outputs a single Slide::extract run can
produce. Each field independently enables its output when Some;
None (the default) disables it.
Fields§
§tile_dir: Option<PathBuf>Directory to save loose .jpg tiles to.
tfrecord_file: Option<PathBuf>File to write a .tfrecord to.
report_path: Option<PathBuf>File to write a single-slide PDF extraction report to.
Implementations§
Source§impl SlideOutputs
impl SlideOutputs
pub fn with_tile_dir(self, dir: impl Into<PathBuf>) -> Self
pub fn with_tfrecord_file(self, path: impl Into<PathBuf>) -> Self
pub fn with_report_path(self, path: impl Into<PathBuf>) -> Self
Trait Implementations§
Source§impl Clone for SlideOutputs
impl Clone for SlideOutputs
Source§impl Debug for SlideOutputs
impl Debug for SlideOutputs
Auto Trait Implementations§
impl Freeze for SlideOutputs
impl RefUnwindSafe for SlideOutputs
impl Send for SlideOutputs
impl Sync for SlideOutputs
impl Unpin for SlideOutputs
impl UnsafeUnpin for SlideOutputs
impl UnwindSafe for SlideOutputs
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<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