pub struct AtlasEntry<I: GenericImageView> {
pub texture: I,
pub mip: AtlasEntryMipOption,
}
Expand description
A texture atlas generation entry description.
texture
: A input texture.mip
: A mip map tiling option.
Fields§
§texture: I
§mip: AtlasEntryMipOption
Trait Implementations§
Source§impl<I: Clone + GenericImageView> Clone for AtlasEntry<I>
impl<I: Clone + GenericImageView> Clone for AtlasEntry<I>
Source§fn clone(&self) -> AtlasEntry<I>
fn clone(&self) -> AtlasEntry<I>
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<I: Debug + GenericImageView> Debug for AtlasEntry<I>
impl<I: Debug + GenericImageView> Debug for AtlasEntry<I>
Source§impl<I: Default + GenericImageView> Default for AtlasEntry<I>
impl<I: Default + GenericImageView> Default for AtlasEntry<I>
Source§fn default() -> AtlasEntry<I>
fn default() -> AtlasEntry<I>
Returns the “default value” for a type. Read more
Source§impl<I: PartialEq + GenericImageView> PartialEq for AtlasEntry<I>
impl<I: PartialEq + GenericImageView> PartialEq for AtlasEntry<I>
impl<I: Eq + GenericImageView> Eq for AtlasEntry<I>
impl<I: GenericImageView> StructuralPartialEq for AtlasEntry<I>
Auto Trait Implementations§
impl<I> Freeze for AtlasEntry<I>where
I: Freeze,
impl<I> RefUnwindSafe for AtlasEntry<I>where
I: RefUnwindSafe,
impl<I> Send for AtlasEntry<I>where
I: Send,
impl<I> Sync for AtlasEntry<I>where
I: Sync,
impl<I> Unpin for AtlasEntry<I>where
I: Unpin,
impl<I> UnwindSafe for AtlasEntry<I>where
I: 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