pub enum AlgorithmFamily {
Skyline,
MaxRects,
Guillotine,
Auto,
}Expand description
Algorithm families and packing configuration. Key notes:
familyselects Skyline/MaxRects/Guillotine/Automr_referencetoggles reference-accurate MaxRects split/prune (SplitFreeNode), improving packing on large sets at higher CPU costtime_budget_msandparallelaffect Auto portfolio evaluation Top-level algorithm families.
Variants§
Skyline
Skyline data structure (BL/MW; fast and good baseline). Optional waste-map recovery.
MaxRects
MaxRects free-list (high quality; many heuristics; best for offline).
Guillotine
Guillotine splitting (flexible choice/split; competitive; useful in waste-map too).
Auto
Try a small portfolio of candidates and pick the best result (pages, then total area).
Trait Implementations§
Source§impl Clone for AlgorithmFamily
impl Clone for AlgorithmFamily
Source§fn clone(&self) -> AlgorithmFamily
fn clone(&self) -> AlgorithmFamily
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 moreSource§impl Debug for AlgorithmFamily
impl Debug for AlgorithmFamily
Source§impl<'de> Deserialize<'de> for AlgorithmFamily
impl<'de> Deserialize<'de> for AlgorithmFamily
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for AlgorithmFamily
impl FromStr for AlgorithmFamily
Source§impl PartialEq for AlgorithmFamily
impl PartialEq for AlgorithmFamily
Source§impl Serialize for AlgorithmFamily
impl Serialize for AlgorithmFamily
impl Eq for AlgorithmFamily
impl StructuralPartialEq for AlgorithmFamily
Auto Trait Implementations§
impl Freeze for AlgorithmFamily
impl RefUnwindSafe for AlgorithmFamily
impl Send for AlgorithmFamily
impl Sync for AlgorithmFamily
impl Unpin for AlgorithmFamily
impl UnwindSafe for AlgorithmFamily
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more