pub enum AttributeFate {
Preserved,
Interpolated,
Dropped(DropReason),
}Expand description
What happened to a channel during an operation.
Reported rather than rejected, matching how BooleanEvidence treats a
no-op cut: the caller is told, and decides whether it matters.
Variants§
Preserved
Every vertex kept its original value.
Interpolated
New vertices received values derived under the channel’s blend rule.
Dropped(DropReason)
The channel was not carried through, with the reason why.
Implementations§
Source§impl AttributeFate
impl AttributeFate
Sourcepub fn then(self, next: Self) -> Self
pub fn then(self, next: Self) -> Self
The fate of a channel that went through self, then next.
For composed operations (batches, symmetric difference): once dropped always dropped, and the FIRST reason is kept – it is the step that lost the data. Otherwise any interpolation makes the whole interpolated; only preserved-then-preserved stays preserved.
Trait Implementations§
Source§impl Clone for AttributeFate
impl Clone for AttributeFate
Source§fn clone(&self) -> AttributeFate
fn clone(&self) -> AttributeFate
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttributeFate
impl Debug for AttributeFate
Source§impl PartialEq for AttributeFate
impl PartialEq for AttributeFate
impl Eq for AttributeFate
impl StructuralPartialEq for AttributeFate
Auto Trait Implementations§
impl Freeze for AttributeFate
impl RefUnwindSafe for AttributeFate
impl Send for AttributeFate
impl Sync for AttributeFate
impl Unpin for AttributeFate
impl UnwindSafe for AttributeFate
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