[][src]Struct egui::paint::Cursor

pub struct Cursor {
    pub ccursor: CCursor,
    pub rcursor: RCursor,
    pub pcursor: PCursor,
}

All different types of cursors together. They all point to the same place, but in their own different ways. pcursor/rcursor can also point to after the end of the paragraph/row. Does not implement PartialEq because you must think which cursor should be equivalent.

Fields

ccursor: CCursorrcursor: RCursorpcursor: PCursor

Trait Implementations

impl Clone for Cursor[src]

impl Copy for Cursor[src]

impl Debug for Cursor[src]

impl Default for Cursor[src]

Auto Trait Implementations

impl RefUnwindSafe for Cursor

impl Send for Cursor

impl Sync for Cursor

impl Unpin for Cursor

impl UnwindSafe for Cursor

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.