pub struct Sinks {
pub out: Option<PathBuf>,
pub clean: bool,
pub echo: bool,
pub timeline: bool,
pub run_log: bool,
pub zone_ply: bool,
pub snapshots: bool,
pub models: bool,
pub live_stride: usize,
}Expand description
Output hook plan. If out is unset, no files are written (enabled file items are ignored, only hooks remain).
Fields§
§out: Option<PathBuf>Output folder.
clean: boolDelete and recreate the output folder when the run starts.
echo: boolAlso write the run.log contents to standard output.
timeline: booltimeline.txt.
run_log: boolrun.log, DONE.
zone_ply: boolZone PLY (full/preview, full/refined).
snapshots: boolAlignment, snapshots, manifest, final_frame.
models: boolPer-zone sparse models (work/models/).
live_stride: usizeLive display thinning: keep 1 of live_stride points by key hash (1 = keep all; ≥ 1).
Implementations§
Source§impl Sinks
impl Sinks
Sourcepub fn default_files(out: impl Into<PathBuf>) -> Self
pub fn default_files(out: impl Into<PathBuf>) -> Self
The same file output as cumulus3d stream (excluding sparse models, also logged to standard output, folder recreated at start).
Sourcepub fn live_stride(self, stride: usize) -> Self
pub fn live_stride(self, stride: usize) -> Self
Live display thinning stride (1 = keep all).
Trait Implementations§
Source§impl Default for Sinks
impl Default for Sinks
Source§fn default() -> Self
fn default() -> Self
Sinks::default_files without an output folder (the remaining values when only part of [sinks] is written in TOML).
Source§impl<'de> Deserialize<'de> for Sinks
impl<'de> Deserialize<'de> for Sinks
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Sinks
Auto Trait Implementations§
impl Freeze for Sinks
impl RefUnwindSafe for Sinks
impl Send for Sinks
impl Sync for Sinks
impl Unpin for Sinks
impl UnsafeUnpin for Sinks
impl UnwindSafe for Sinks
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.