pub struct Cursor {
pub position: Position,
pub shape: CursorShape,
pub blink: bool,
pub color: Option<Color>,
}Expand description
Cursor configuration for a View.
Fields§
§position: PositionCursor position.
shape: CursorShapeCursor shape.
blink: boolWhether cursor is blinking.
color: Option<Color>Cursor color.
Implementations§
Trait Implementations§
impl Eq for Cursor
impl StructuralPartialEq for Cursor
Auto Trait Implementations§
impl Freeze for Cursor
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl Sync for Cursor
impl Unpin for Cursor
impl UnsafeUnpin for Cursor
impl UnwindSafe for Cursor
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