pub struct PackedItems<T> {
pub w: usize,
pub h: usize,
pub items: Vec<PackedItem<T>>,
}Expand description
A container of packed items.
Fields§
§w: usizeThe width of the container.
h: usizeThe height of the container.
items: Vec<PackedItem<T>>The items packed into the container.
Auto Trait Implementations§
impl<T> Freeze for PackedItems<T>
impl<T> RefUnwindSafe for PackedItems<T>where
T: RefUnwindSafe,
impl<T> Send for PackedItems<T>where
T: Send,
impl<T> Sync for PackedItems<T>where
T: Sync,
impl<T> Unpin for PackedItems<T>where
T: Unpin,
impl<T> UnwindSafe for PackedItems<T>where
T: UnwindSafe,
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