pub enum StampMode {
Above,
Below,
}Expand description
Which side of an already-defined cell decides when a stamp lands on it. See Stamping in
docs/model.md.
Variants§
Above
Overwrites the base stroke and every arm the stamp decides. An arm the stamp leaves
Unset keeps whatever the target already had.
Below
Leaves the base stroke alone. Writes only the sides the target has left Unset, taking
them from the stamp; a side the target has already decided keeps its value.
Trait Implementations§
impl Copy for StampMode
impl Eq for StampMode
impl StructuralPartialEq for StampMode
Auto Trait Implementations§
impl Forget for StampMode
impl Freeze for StampMode
impl RefUnwindSafe for StampMode
impl Send for StampMode
impl Sync for StampMode
impl Unpin for StampMode
impl UnsafeUnpin for StampMode
impl UnwindSafe for StampMode
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