pub struct CursorInfo {
pub pos: CellVec<u16>,
pub grid: Id,
pub enabled: bool,
pub style_enabled: bool,
}Fields§
§pos: CellVec<u16>The position of the cursor in grid cells
grid: IdThe grid the cursor is on
enabled: boolWhether the cursor should be rendered
style_enabled: boolWhether the UI should set the cursor style
Trait Implementations§
Source§impl Clone for CursorInfo
impl Clone for CursorInfo
Source§fn clone(&self) -> CursorInfo
fn clone(&self) -> CursorInfo
Returns a duplicate 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 CursorInfo
impl Debug for CursorInfo
Source§impl Default for CursorInfo
impl Default for CursorInfo
impl Copy for CursorInfo
Auto Trait Implementations§
impl Freeze for CursorInfo
impl RefUnwindSafe for CursorInfo
impl Send for CursorInfo
impl Sync for CursorInfo
impl Unpin for CursorInfo
impl UnwindSafe for CursorInfo
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