#[non_exhaustive]pub enum CursorAnchor {
CenterLeft,
TopLeft,
BottomLeft,
TopRight,
CenterRight,
}Expand description
Cursor anchor point relative to a menu entry.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for CursorAnchor
impl Clone for CursorAnchor
Source§fn clone(&self) -> CursorAnchor
fn clone(&self) -> CursorAnchor
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 CursorAnchor
Source§impl Debug for CursorAnchor
impl Debug for CursorAnchor
Source§impl Default for CursorAnchor
impl Default for CursorAnchor
Source§fn default() -> CursorAnchor
fn default() -> CursorAnchor
Returns the “default value” for a type. Read more
impl Eq for CursorAnchor
Source§impl PartialEq for CursorAnchor
impl PartialEq for CursorAnchor
impl StructuralPartialEq for CursorAnchor
Auto Trait Implementations§
impl Freeze for CursorAnchor
impl RefUnwindSafe for CursorAnchor
impl Send for CursorAnchor
impl Sync for CursorAnchor
impl Unpin for CursorAnchor
impl UnsafeUnpin for CursorAnchor
impl UnwindSafe for CursorAnchor
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