Struct rect_packer::Config
[−]
[src]
pub struct Config { pub width: i32, pub height: i32, pub border_padding: i32, pub rectangle_padding: i32, }
Describes size and padding requirements of rectangle packing.
Fields
width: i32
Width of the encompassing rectangle.
height: i32
Height of the encompassing rectangle.
border_padding: i32
Minimum spacing between border and rectangles.
rectangle_padding: i32
Minimum spacing between rectangles.
Trait Implementations
impl Copy for Config
[src]
impl Clone for Config
[src]
fn clone(&self) -> Config
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
impl Debug for Config
[src]
impl Eq for Config
[src]
impl PartialEq for Config
[src]
fn eq(&self, __arg_0: &Config) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Config) -> bool
This method tests for !=
.