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 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 Eq 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