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
x: Range
Padding on the start and end of the x axis.
y: Range
Padding on the start and end of the y axis.
Methods
impl Padding[src]
Trait Implementations
impl Copy for Padding[src]
impl Clone for Padding[src]
fn clone(&self) -> Padding[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Padding[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more