Struct conrod::Padding
[−]
[src]
pub struct Padding { pub x: Range, pub y: Range, }
The distance between the inner edge of a frame 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 PartialEq for Padding
[src]
fn eq(&self, __arg_0: &Padding) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Padding) -> bool
This method tests for !=
.
impl Debug for Padding
[src]
impl Clone for Padding
[src]
fn clone(&self) -> Padding
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