Struct conrod::Margin
[−]
[src]
pub struct Margin { pub top: f64, pub bottom: f64, pub left: f64, pub right: f64, }
The distance between the dimension bound and the outer edge of the frame.
Fields
top: f64
Margin between the y max parent Widget and the outer edge of its frame.
bottom: f64
Margin between the y min parent Widget and the outer edge of its frame.
left: f64
Margin between the x min parent Widget and the outer edge of its frame.
right: f64
Margin between the x max parent Widget and the outer edge of its frame.
Methods
impl Margin
[src]
Trait Implementations
impl Debug for Margin
[src]
impl Clone for Margin
[src]
fn clone(&self) -> Margin
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