Struct alacritty::renderer::rects::RenderLine
source · pub struct RenderLine {
pub start: Point<usize>,
pub end: Point<usize>,
pub color: Rgb,
}
Fields§
§start: Point<usize>
§end: Point<usize>
§color: Rgb
Implementations§
source§impl RenderLine
impl RenderLine
Trait Implementations§
source§impl Clone for RenderLine
impl Clone for RenderLine
source§fn clone(&self) -> RenderLine
fn clone(&self) -> RenderLine
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 RenderLine
impl Debug for RenderLine
source§impl PartialEq<RenderLine> for RenderLine
impl PartialEq<RenderLine> for RenderLine
source§fn eq(&self, other: &RenderLine) -> bool
fn eq(&self, other: &RenderLine) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RenderLine
impl Eq for RenderLine
impl StructuralEq for RenderLine
impl StructuralPartialEq for RenderLine
Auto Trait Implementations§
impl RefUnwindSafe for RenderLine
impl Send for RenderLine
impl Sync for RenderLine
impl Unpin for RenderLine
impl UnwindSafe for RenderLine
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
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.