Struct alacritty::renderer::rects::RenderRect
source · pub struct RenderRect {
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
pub color: Rgb,
pub alpha: f32,
pub kind: RectKind,
}
Fields§
§x: f32
§y: f32
§width: f32
§height: f32
§color: Rgb
§alpha: f32
§kind: RectKind
Implementations§
Trait Implementations§
source§impl Clone for RenderRect
impl Clone for RenderRect
source§fn clone(&self) -> RenderRect
fn clone(&self) -> RenderRect
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 RenderRect
impl Debug for RenderRect
source§impl From<RenderRect> for CursorRects
impl From<RenderRect> for CursorRects
source§fn from(rect: RenderRect) -> Self
fn from(rect: RenderRect) -> Self
Converts to this type from the input type.
impl Copy for RenderRect
Auto Trait Implementations§
impl RefUnwindSafe for RenderRect
impl Send for RenderRect
impl Sync for RenderRect
impl Unpin for RenderRect
impl UnwindSafe for RenderRect
Blanket Implementations§
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.