pub struct Texture<B: Backend> { /* private fields */ }
Expand description
Static image. Can be loaded from various of formats.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for Texture<B>
impl<B> RefUnwindSafe for Texture<B>where
<B as Backend>::ImageView: RefUnwindSafe,
<B as Backend>::Image: RefUnwindSafe,
<B as Backend>::Sampler: RefUnwindSafe,
<B as Backend>::Memory: RefUnwindSafe,
impl<B> Send for Texture<B>
impl<B> Sync for Texture<B>
impl<B> Unpin for Texture<B>
impl<B> UnwindSafe for Texture<B>where
<B as Backend>::ImageView: UnwindSafe,
<B as Backend>::Image: RefUnwindSafe,
<B as Backend>::Sampler: RefUnwindSafe,
<B as Backend>::Memory: RefUnwindSafe,
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