pub struct InputItem { /* private fields */ }
Expand description
An input to the rectangle packing routines.
InputItem
is just a 2D size and a Packos-generated unique identifier. It’s
expected that consumers will assign meaning to the given IDs and then use
them to associate the packing results back to the application’s own objects.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InputItem
impl RefUnwindSafe for InputItem
impl Send for InputItem
impl Sync for InputItem
impl Unpin for InputItem
impl UnwindSafe for InputItem
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