Struct nannou::ui::prelude::position::Padding [−][src]
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]
impl Padding
Trait Implementations
impl Clone for Padding
[src]
impl Clone for Padding
fn clone(&self) -> Padding
[src]
fn clone(&self) -> Padding
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Padding
[src]
impl Debug for Padding
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for Padding
[src]
impl Copy for Padding
impl PartialEq<Padding> for Padding
[src]
impl PartialEq<Padding> for Padding