pub struct PngLoader { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl ImageLoader for PngLoader
impl ImageLoader for PngLoader
Source§fn load(&self, ctx: &Context, uri: &str, _: SizeHint) -> ImageLoadResult
fn load(&self, ctx: &Context, uri: &str, _: SizeHint) -> ImageLoadResult
Try loading the image 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 PngLoader
impl !RefUnwindSafe for PngLoader
impl Send for PngLoader
impl Sync for PngLoader
impl Unpin for PngLoader
impl UnwindSafe for PngLoader
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