pub struct StageOutputBuilder { /* private fields */ }Expand description
Incremental builder for StageOutput.
Created via StageOutput::build(). Each setter returns self for chaining.
Implementations§
Source§impl StageOutputBuilder
impl StageOutputBuilder
Sourcepub fn detections(self, detections: DetectionSet) -> Self
pub fn detections(self, detections: DetectionSet) -> Self
Set the detection set.
Sourcepub fn signal(self, signal: DerivedSignal) -> Self
pub fn signal(self, signal: DerivedSignal) -> Self
Append a signal.
Sourcepub fn signals(self, signals: Vec<DerivedSignal>) -> Self
pub fn signals(self, signals: Vec<DerivedSignal>) -> Self
Append signals.
Sourcepub fn scene_feature(self, feature: SceneFeature) -> Self
pub fn scene_feature(self, feature: SceneFeature) -> Self
Append a scene feature.
Sourcepub fn artifact<T: Clone + Send + Sync + 'static>(self, value: T) -> Self
pub fn artifact<T: Clone + Send + Sync + 'static>(self, value: T) -> Self
Insert a typed artifact.
Sourcepub fn finish(self) -> StageOutput
pub fn finish(self) -> StageOutput
Consume the builder and produce the StageOutput.
Auto Trait Implementations§
impl Freeze for StageOutputBuilder
impl !RefUnwindSafe for StageOutputBuilder
impl Send for StageOutputBuilder
impl Sync for StageOutputBuilder
impl Unpin for StageOutputBuilder
impl UnsafeUnpin for StageOutputBuilder
impl !UnwindSafe for StageOutputBuilder
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