Struct egui_thumbhash::ThumbhashImageLoader
source · pub struct ThumbhashImageLoader { /* private fields */ }
Expand description
The ImageLoader implementation for thumbhash images.
Implementations§
Trait Implementations§
source§impl Clone for ThumbhashImageLoader
impl Clone for ThumbhashImageLoader
source§fn clone(&self) -> ThumbhashImageLoader
fn clone(&self) -> ThumbhashImageLoader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ThumbhashImageLoader
impl Default for ThumbhashImageLoader
source§fn default() -> ThumbhashImageLoader
fn default() -> ThumbhashImageLoader
Returns the “default value” for a type. Read more
source§impl ImageLoader for ThumbhashImageLoader
impl ImageLoader for ThumbhashImageLoader
source§fn load(
&self,
_ctx: &Context,
uri: &str,
_size_hint: SizeHint
) -> ImageLoadResult
fn load( &self, _ctx: &Context, uri: &str, _size_hint: 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 ThumbhashImageLoader
impl !RefUnwindSafe for ThumbhashImageLoader
impl Send for ThumbhashImageLoader
impl Sync for ThumbhashImageLoader
impl Unpin for ThumbhashImageLoader
impl UnwindSafe for ThumbhashImageLoader
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