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]

fn max_x(&self) -> i32

fn max_y(&self) -> i32

Trait Implementations

impl Debug for Rect
[src]

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

Formats the value using the given formatter.

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