Struct amethyst_animation::MaterialTextureSet [−][src]
pub struct MaterialTextureSet { /* fields omitted */ }Textures used by texture animations
Methods
impl MaterialTextureSet[src]
impl MaterialTextureSetpub fn new() -> Self[src]
pub fn new() -> Selfpub fn handle(&self, index: usize) -> Option<Handle<Texture>>[src]
pub fn handle(&self, index: usize) -> Option<Handle<Texture>>pub fn index(&self, handle: &Handle<Texture>) -> Option<usize>[src]
pub fn index(&self, handle: &Handle<Texture>) -> Option<usize>pub fn insert(&mut self, index: usize, handle: Handle<Texture>)[src]
pub fn insert(&mut self, index: usize, handle: Handle<Texture>)pub fn remove(&mut self, index: usize)[src]
pub fn remove(&mut self, index: usize)pub fn len(&self) -> usize[src]
pub fn len(&self) -> usizepub fn clear(&mut self)[src]
pub fn clear(&mut self)Trait Implementations
impl Debug for MaterialTextureSet[src]
impl Debug for MaterialTextureSetfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for MaterialTextureSet[src]
impl Default for MaterialTextureSetfn default() -> MaterialTextureSet[src]
fn default() -> MaterialTextureSetReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for MaterialTextureSet
impl Send for MaterialTextureSetimpl Sync for MaterialTextureSet
impl Sync for MaterialTextureSet