Struct alacritty::display::content::RenderableCursor
source · pub struct RenderableCursor {
shape: CursorShape,
cursor_color: Rgb,
text_color: Rgb,
is_wide: bool,
point: Point<usize>,
}
Expand description
Cursor storing all information relevant for rendering.
Fields§
§shape: CursorShape
§cursor_color: Rgb
§text_color: Rgb
§is_wide: bool
§point: Point<usize>
Implementations§
Trait Implementations§
source§impl Clone for RenderableCursor
impl Clone for RenderableCursor
source§fn clone(&self) -> RenderableCursor
fn clone(&self) -> RenderableCursor
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 RenderableCursor
impl Debug for RenderableCursor
source§impl IntoRects for RenderableCursor
impl IntoRects for RenderableCursor
source§impl PartialEq<RenderableCursor> for RenderableCursor
impl PartialEq<RenderableCursor> for RenderableCursor
source§fn eq(&self, other: &RenderableCursor) -> bool
fn eq(&self, other: &RenderableCursor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RenderableCursor
impl Eq for RenderableCursor
impl StructuralEq for RenderableCursor
impl StructuralPartialEq for RenderableCursor
Auto Trait Implementations§
impl RefUnwindSafe for RenderableCursor
impl Send for RenderableCursor
impl Sync for RenderableCursor
impl Unpin for RenderableCursor
impl UnwindSafe for RenderableCursor
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> ResetDiscriminant<T> for Twhere
T: Copy,
impl<T> ResetDiscriminant<T> for Twhere T: Copy,
source§fn discriminant(&self) -> T
fn discriminant(&self) -> T
Value based on which equality for the reset will be determined.