pub enum ChannelKind {
Source,
Derived,
}Expand description
Whether a channel’s values are undoable input or recomputable output.
Variants§
Source
Values provided by the user (e.g. a painted mask). Journaled and undoable.
Derived
Values computed from other data (e.g. distances, colors). Not journaled; recomputed after edits, undo and redo.
Trait Implementations§
Source§impl Clone for ChannelKind
impl Clone for ChannelKind
Source§fn clone(&self) -> ChannelKind
fn clone(&self) -> ChannelKind
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 ChannelKind
Source§impl Debug for ChannelKind
impl Debug for ChannelKind
impl Eq for ChannelKind
Source§impl PartialEq for ChannelKind
impl PartialEq for ChannelKind
impl StructuralPartialEq for ChannelKind
Auto Trait Implementations§
impl Freeze for ChannelKind
impl RefUnwindSafe for ChannelKind
impl Send for ChannelKind
impl Sync for ChannelKind
impl Unpin for ChannelKind
impl UnsafeUnpin for ChannelKind
impl UnwindSafe for ChannelKind
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