pub struct RunOptions<'a> {
pub root: &'a Path,
pub mirror_root: &'a Path,
pub manifest_dir: &'a Path,
pub division: &'a str,
pub walk: WalkOptions,
}Expand description
Options for one conversion run.
Fields§
§root: &'a PathThe division root to walk.
mirror_root: &'a PathThe mirror tree root.
manifest_dir: &'a PathThe directory holding manifest shards.
division: &'a strThe division name, also the shard file stem.
walk: WalkOptionsTraversal options.
Auto Trait Implementations§
impl<'a> Freeze for RunOptions<'a>
impl<'a> RefUnwindSafe for RunOptions<'a>
impl<'a> Send for RunOptions<'a>
impl<'a> Sync for RunOptions<'a>
impl<'a> Unpin for RunOptions<'a>
impl<'a> UnsafeUnpin for RunOptions<'a>
impl<'a> UnwindSafe for RunOptions<'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> 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