pub struct ImageRequest {
    pub key: ImageKey,
    pub rendering: ImageRendering,
    pub tile: Option<TileOffset>,
}Fields§
§key: ImageKey§rendering: ImageRendering§tile: Option<TileOffset>Implementations§
Source§impl ImageRequest
 
impl ImageRequest
pub fn with_tile(&self, offset: TileOffset) -> Self
pub fn is_untiled_auto(&self) -> bool
Trait Implementations§
Source§impl Clone for ImageRequest
 
impl Clone for ImageRequest
Source§fn clone(&self) -> ImageRequest
 
fn clone(&self) -> ImageRequest
Returns a duplicate 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 Debug for ImageRequest
 
impl Debug for ImageRequest
Source§impl Hash for ImageRequest
 
impl Hash for ImageRequest
Source§impl Into<BlobImageRequest> for ImageRequest
 
impl Into<BlobImageRequest> for ImageRequest
Source§fn into(self) -> BlobImageRequest
 
fn into(self) -> BlobImageRequest
Converts this type into the (usually inferred) input type.
Source§impl Into<CachedImageKey> for ImageRequest
 
impl Into<CachedImageKey> for ImageRequest
Source§fn into(self) -> CachedImageKey
 
fn into(self) -> CachedImageKey
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for ImageRequest
 
impl PartialEq for ImageRequest
Source§impl Serialize for ImageRequest
 
impl Serialize for ImageRequest
impl Copy for ImageRequest
impl Eq for ImageRequest
impl StructuralPartialEq for ImageRequest
Auto Trait Implementations§
impl Freeze for ImageRequest
impl RefUnwindSafe for ImageRequest
impl Send for ImageRequest
impl Sync for ImageRequest
impl Unpin for ImageRequest
impl UnwindSafe for ImageRequest
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more