pub enum EditorClickZone {
Text,
Gutter,
}Expand description
Editor area in which a pointer click occurred.
Text and gutter clicks never continue the same multi-click sequence.
§Examples
use ailloli_ui_editor::EditorClickZone;
assert_ne!(EditorClickZone::Text, EditorClickZone::Gutter);Variants§
Trait Implementations§
Source§impl Clone for EditorClickZone
impl Clone for EditorClickZone
Source§fn clone(&self) -> EditorClickZone
fn clone(&self) -> EditorClickZone
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 EditorClickZone
impl Debug for EditorClickZone
Source§impl PartialEq for EditorClickZone
impl PartialEq for EditorClickZone
impl Copy for EditorClickZone
impl Eq for EditorClickZone
impl StructuralPartialEq for EditorClickZone
Auto Trait Implementations§
impl Freeze for EditorClickZone
impl RefUnwindSafe for EditorClickZone
impl Send for EditorClickZone
impl Sync for EditorClickZone
impl Unpin for EditorClickZone
impl UnwindSafe for EditorClickZone
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.