pub struct DefaultTextureLoader { /* private fields */ }
Trait Implementations§
Source§impl Default for DefaultTextureLoader
impl Default for DefaultTextureLoader
Source§fn default() -> DefaultTextureLoader
fn default() -> DefaultTextureLoader
Returns the “default value” for a type. Read more
Source§impl TextureLoader for DefaultTextureLoader
impl TextureLoader for DefaultTextureLoader
Source§fn load(
&self,
ctx: &Context,
uri: &str,
texture_options: TextureOptions,
size_hint: SizeHint,
) -> TextureLoadResult
fn load( &self, ctx: &Context, uri: &str, texture_options: TextureOptions, size_hint: SizeHint, ) -> TextureLoadResult
Try loading the texture from the given uri. Read more
Source§fn forget_all(&self)
fn forget_all(&self)
Forget all URIs ever given to this loader. Read more
Auto Trait Implementations§
impl !Freeze for DefaultTextureLoader
impl !RefUnwindSafe for DefaultTextureLoader
impl Send for DefaultTextureLoader
impl Sync for DefaultTextureLoader
impl Unpin for DefaultTextureLoader
impl !UnwindSafe for DefaultTextureLoader
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