Struct conrod::drag::Area [] [src]

pub struct Area {
    pub xy: Point,
    pub dim: Dimensions,
}

Represents the draggable area of a widget by its coordinates and dimensions.

Fields

xy: Point

The absolute center position of the area.

dim: Dimensions

The dimensions of the area.

Trait Implementations

impl Debug for Area
[src]

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

Formats the value using the given formatter.

impl Clone for Area
[src]

fn clone(&self) -> Area

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

impl Copy for Area
[src]