[−][src]Struct texture_packer::TexturePackerConfig
Fields
max_width: u32
Max width of the packed image. Default value is 1024
.
max_height: u32
Max height of the packed image. Default value is 1024
.
allow_rotation: bool
True to allow rotation of the input images. Default value is true
.
border_padding: u32
Size of the padding on the outer edge of the packed image in pixel. Default value is 0
.
texture_padding: u32
Size of the padding between frames in pixel. Default value is 2
trim: bool
True to trim the empty pixels of the input images. Default value is true
.
texture_outlines: bool
True to draw the red line on the edge of the each frames. Useful for debugging. Default
value is false
.
Trait Implementations
impl Clone for TexturePackerConfig
[src]
fn clone(&self) -> TexturePackerConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TexturePackerConfig
[src]
impl Debug for TexturePackerConfig
[src]
impl Default for TexturePackerConfig
[src]
fn default() -> TexturePackerConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for TexturePackerConfig
impl Send for TexturePackerConfig
impl Sync for TexturePackerConfig
impl Unpin for TexturePackerConfig
impl UnwindSafe for TexturePackerConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,