[−][src]Struct guillotiere::AllocatorOptions
Options to tweak the behavior of the atlas allocator.
Fields
snap_size: i32
Round the rectangle sizes up to a multiple of this value.
This value must be superior to zero.
Default value: 1,
small_size_threshold: i32
Value below which a size is considered small.
This is value is used to speed up the storage and lookup of free rectangles.
This value must be inferior or equal to large_size_threshold
Default value: 32,
large_size_threshold: i32
Value above which a size is considered large.
This is value is used to speed up the storage and lookup of free rectangles.
This value must be inferior or equal to large_size_threshold
Default value: 256,
Trait Implementations
impl Eq for AllocatorOptions
[src]
impl Default for AllocatorOptions
[src]
impl Copy for AllocatorOptions
[src]
impl PartialEq<AllocatorOptions> for AllocatorOptions
[src]
fn eq(&self, other: &AllocatorOptions) -> bool
[src]
fn ne(&self, other: &AllocatorOptions) -> bool
[src]
impl Clone for AllocatorOptions
[src]
fn clone(&self) -> AllocatorOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AllocatorOptions
[src]
impl Hash for AllocatorOptions
[src]
Auto Trait Implementations
impl Send for AllocatorOptions
impl Sync for AllocatorOptions
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,