Struct picto::area::Area [] [src]

pub struct Area {
    pub x: u32,
    pub y: u32,
    pub width: u32,
    pub height: u32,
}

An area within a buffer or view.

Fields

Methods

impl Area
[src]

Create a Builder to create an Area.

Create an Area from the given parameters.

Get an iterator over relative coordinates, based on the coordinates within the parent view.

Get an iterator over absolute coordinates.

Trait Implementations

impl Eq for Area
[src]

impl PartialEq for Area
[src]

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

This method tests for !=.

impl Copy for Area
[src]

impl Clone for Area
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Area
[src]

Formats the value using the given formatter.