Struct gfx_core::target::Rect [−][src]
A screen space rectangle
Fields
x: u16
y: u16
w: u16
h: u16
Trait Implementations
impl PartialOrd<Rect> for Rect[src]
impl PartialOrd<Rect> for Rectfn partial_cmp(&self, other: &Rect) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Rect) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rect) -> bool[src]
fn lt(&self, other: &Rect) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rect) -> bool[src]
fn le(&self, other: &Rect) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rect) -> bool[src]
fn gt(&self, other: &Rect) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rect) -> bool[src]
fn ge(&self, other: &Rect) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Hash for Rect[src]
impl Hash for Rectfn hash<__H>(&self, state: &mut __H) where
__H: Hasher, [src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher, Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for Rect[src]
impl Clone for Rectfn clone(&self) -> Rect[src]
fn clone(&self) -> RectReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Rect[src]
impl Debug for Rectfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Copy for Rect[src]
impl Copy for Rectimpl PartialEq<Rect> for Rect[src]
impl PartialEq<Rect> for Rect