pub struct SplitPacker { /* private fields */ }
Expand description
Derived from the lightmap packer
but uses a vector instead a tree, sourced from rectpack2D
Performs really porly with unsorted input data, is best used to bake spritesheets
Implementations§
Source§impl SplitPacker
impl SplitPacker
pub fn new(config: PackerConfig) -> Self
Trait Implementations§
Source§impl Clone for SplitPacker
impl Clone for SplitPacker
Source§fn clone(&self) -> SplitPacker
fn clone(&self) -> SplitPacker
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SplitPacker
impl RefUnwindSafe for SplitPacker
impl Send for SplitPacker
impl Sync for SplitPacker
impl Unpin for SplitPacker
impl UnwindSafe for SplitPacker
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