Struct termwiz::widgets::CursorShapeAndPosition
source · [−]pub struct CursorShapeAndPosition {
pub shape: CursorShape,
pub coords: ParentRelativeCoords,
pub color: ColorAttribute,
}
Fields
shape: CursorShape
coords: ParentRelativeCoords
color: ColorAttribute
Trait Implementations
sourceimpl Clone for CursorShapeAndPosition
impl Clone for CursorShapeAndPosition
sourcefn clone(&self) -> CursorShapeAndPosition
fn clone(&self) -> CursorShapeAndPosition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CursorShapeAndPosition
impl Debug for CursorShapeAndPosition
sourceimpl Default for CursorShapeAndPosition
impl Default for CursorShapeAndPosition
sourcefn default() -> CursorShapeAndPosition
fn default() -> CursorShapeAndPosition
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CursorShapeAndPosition> for CursorShapeAndPosition
impl PartialEq<CursorShapeAndPosition> for CursorShapeAndPosition
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &CursorShapeAndPosition) -> bool
fn ne(&self, other: &CursorShapeAndPosition) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more