pub struct Config {
pub width: i32,
pub height: i32,
pub border_padding: i32,
pub rectangle_padding: i32,
}Expand description
Describes size and padding requirements of rectangle packing.
Fields§
§width: i32Width of the encompassing rectangle.
height: i32Height of the encompassing rectangle.
border_padding: i32Minimum spacing between border and rectangles.
rectangle_padding: i32Minimum spacing between rectangles.
Trait Implementations§
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more