Struct bmfont::Rect
[−]
[src]
pub struct Rect { pub x: i32, pub y: i32, pub width: u32, pub height: u32, }
Rectangle
Fields
x: i32
Minimum x
y: i32
Minimum y
width: u32
height: u32
Methods
impl Rect
[src]
Trait Implementations
impl Clone for Rect
[src]
fn clone(&self) -> Rect
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