Struct conrod::Padding [] [src]

pub struct Padding {
    pub x: Range,
    pub y: Range,
}

The distance between the inner edge of a border and the outer edge of the inner content.

Fields

Padding on the start and end of the x axis.

Padding on the start and end of the y axis.

Methods

impl Padding
[src]

No padding.

Trait Implementations

impl Copy for Padding
[src]

impl Clone for Padding
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Padding
[src]

Formats the value using the given formatter.

impl PartialEq for Padding
[src]

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

This method tests for !=.