Struct vnc::Rect [] [src]

pub struct Rect {
    pub left: u16,
    pub top: u16,
    pub width: u16,
    pub height: u16,


left: u16 top: u16 width: u16 height: u16

Trait Implementations

impl PartialEq for Rect

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

This method tests for self and other values to be equal, and is used by ==. Read more

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

This method tests for !=.

impl Eq for Rect

impl Copy for Rect

impl Clone for Rect

fn clone(&self) -> Rect

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Debug for Rect

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

Formats the value using the given formatter.