Struct bdf::BoundingBox [] [src]

pub struct BoundingBox {
    pub width: u32,
    pub height: u32,
    pub x: i32,
    pub y: i32,
}

The bounds of a glyph.

Fields

width: u32
height: u32
x: i32
y: i32

Trait Implementations

impl Debug for BoundingBox
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for BoundingBox
[src]

impl Clone for BoundingBox
[src]

fn clone(&self) -> BoundingBox

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Eq for BoundingBox
[src]

impl PartialEq for BoundingBox
[src]

fn eq(&self, __arg_0: &BoundingBox) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &BoundingBox) -> bool

This method tests for !=.

impl Default for BoundingBox
[src]

fn default() -> Self

Returns the "default value" for a type. Read more