Struct termwiz::widgets::CursorShapeAndPosition
source · pub struct CursorShapeAndPosition {
pub shape: CursorShape,
pub coords: ParentRelativeCoords,
pub color: ColorAttribute,
pub visibility: CursorVisibility,
}
Fields§
§shape: CursorShape
§coords: ParentRelativeCoords
§color: ColorAttribute
§visibility: CursorVisibility
Trait Implementations§
source§impl Clone for CursorShapeAndPosition
impl Clone for CursorShapeAndPosition
source§fn clone(&self) -> CursorShapeAndPosition
fn clone(&self) -> CursorShapeAndPosition
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 CursorShapeAndPosition
impl Debug for CursorShapeAndPosition
source§impl Default for CursorShapeAndPosition
impl Default for CursorShapeAndPosition
source§fn default() -> CursorShapeAndPosition
fn default() -> CursorShapeAndPosition
Returns the “default value” for a type. Read more
source§impl PartialEq for CursorShapeAndPosition
impl PartialEq for CursorShapeAndPosition
source§fn eq(&self, other: &CursorShapeAndPosition) -> bool
fn eq(&self, other: &CursorShapeAndPosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CursorShapeAndPosition
impl StructuralEq for CursorShapeAndPosition
impl StructuralPartialEq for CursorShapeAndPosition
Auto Trait Implementations§
impl RefUnwindSafe for CursorShapeAndPosition
impl Send for CursorShapeAndPosition
impl Sync for CursorShapeAndPosition
impl Unpin for CursorShapeAndPosition
impl UnwindSafe for CursorShapeAndPosition
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