pub enum HighlightEffect {
None,
Invert,
Outline,
Push,
}
Expand description
Highlighting effect applied when a user holds the mouse button over an annotation.
Variants§
None
No effect.
Invert
Invert the colors inside of the annotation rect.
Outline
Invert the colors on the annotation border.
Push
Make the annotation rect’s area appear depressed.
Trait Implementations§
source§impl Clone for HighlightEffect
impl Clone for HighlightEffect
source§fn clone(&self) -> HighlightEffect
fn clone(&self) -> HighlightEffect
Returns a copy of the value. Read more
1.6.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 HighlightEffect
impl Debug for HighlightEffect
source§impl Hash for HighlightEffect
impl Hash for HighlightEffect
source§impl PartialEq for HighlightEffect
impl PartialEq for HighlightEffect
impl Copy for HighlightEffect
impl Eq for HighlightEffect
impl StructuralPartialEq for HighlightEffect
Auto Trait Implementations§
impl Freeze for HighlightEffect
impl RefUnwindSafe for HighlightEffect
impl Send for HighlightEffect
impl Sync for HighlightEffect
impl Unpin for HighlightEffect
impl UnwindSafe for HighlightEffect
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)