ttf_parser::colr

Type Alias ClipBox

Source
pub type ClipBox = RectF;
Expand description

Aliased Type§

struct ClipBox {
    pub x_min: f32,
    pub y_min: f32,
    pub x_max: f32,
    pub y_max: f32,
}

Fields§

§x_min: f32

The horizontal minimum of the rect.

§y_min: f32

The vertical minimum of the rect.

§x_max: f32

The horizontal maximum of the rect.

§y_max: f32

The vertical maximum of the rect.

Trait Implementations

Source§

impl Clone for RectF

Source§

fn clone(&self) -> RectF

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RectF

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for RectF

Source§

fn eq(&self, other: &RectF) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for RectF

Source§

impl StructuralPartialEq for RectF