pub enum TopologyPolicy {
Interpolate,
Default,
Nearest,
}Expand description
How a source channel gets values for vertices created by an edit.
Variants§
Interpolate
Weighted average of the creation parents’ values.
Default
The channel’s default value.
Nearest
The value of the creation parent with the largest weight.
Trait Implementations§
Source§impl Clone for TopologyPolicy
impl Clone for TopologyPolicy
Source§fn clone(&self) -> TopologyPolicy
fn clone(&self) -> TopologyPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TopologyPolicy
Source§impl Debug for TopologyPolicy
impl Debug for TopologyPolicy
impl Eq for TopologyPolicy
Source§impl PartialEq for TopologyPolicy
impl PartialEq for TopologyPolicy
impl StructuralPartialEq for TopologyPolicy
Auto Trait Implementations§
impl Freeze for TopologyPolicy
impl RefUnwindSafe for TopologyPolicy
impl Send for TopologyPolicy
impl Sync for TopologyPolicy
impl Unpin for TopologyPolicy
impl UnsafeUnpin for TopologyPolicy
impl UnwindSafe for TopologyPolicy
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