Struct gfx::device::target::Rect [] [src]

pub struct Rect {
    pub x: u16,
    pub y: u16,
    pub w: u16,
    pub h: u16,
}

A screen space rectangle

Fields

x
y
w
h

Trait Implementations

Derived Implementations

impl Debug for Rect

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

impl PartialEq<Rect> for Rect

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

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

impl Clone for Rect

fn clone(&self) -> Rect

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

impl Copy for Rect