pub struct Texture {
pub image_texture_index: usize,
pub sampler_index: usize,
}Expand description
Selects an ImageTexture and Sampler.
Fields§
§image_texture_index: usizeThe index of the ImageTexture in image_textures.
sampler_index: usizeTrait Implementations§
source§impl PartialEq for Texture
impl PartialEq for Texture
impl Copy for Texture
impl Eq for Texture
impl StructuralEq for Texture
impl StructuralPartialEq for Texture
Auto Trait Implementations§
impl RefUnwindSafe for Texture
impl Send for Texture
impl Sync for Texture
impl Unpin for Texture
impl UnwindSafe for Texture
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.