pub struct ThumbnailPathLookupEntry { /* private fields */ }Expand description
A validated cache path and metadata facts.
Implementations§
Source§impl ThumbnailPathLookupEntry
impl ThumbnailPathLookupEntry
Sourcepub const fn metadata(&self) -> &ThumbnailMetadata
pub const fn metadata(&self) -> &ThumbnailMetadata
Returns metadata parsed from the validated PNG.
Sourcepub fn into_parts(self) -> ThumbnailPathLookupEntryParts
pub fn into_parts(self) -> ThumbnailPathLookupEntryParts
Splits this result into its owned path and metadata.
Trait Implementations§
Source§impl Clone for ThumbnailPathLookupEntry
impl Clone for ThumbnailPathLookupEntry
Source§fn clone(&self) -> ThumbnailPathLookupEntry
fn clone(&self) -> ThumbnailPathLookupEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ThumbnailPathLookupEntry
impl Debug for ThumbnailPathLookupEntry
Source§impl PartialEq for ThumbnailPathLookupEntry
impl PartialEq for ThumbnailPathLookupEntry
Source§fn eq(&self, other: &ThumbnailPathLookupEntry) -> bool
fn eq(&self, other: &ThumbnailPathLookupEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ThumbnailPathLookupEntry
impl StructuralPartialEq for ThumbnailPathLookupEntry
Auto Trait Implementations§
impl Freeze for ThumbnailPathLookupEntry
impl RefUnwindSafe for ThumbnailPathLookupEntry
impl Send for ThumbnailPathLookupEntry
impl Sync for ThumbnailPathLookupEntry
impl Unpin for ThumbnailPathLookupEntry
impl UnsafeUnpin for ThumbnailPathLookupEntry
impl UnwindSafe for ThumbnailPathLookupEntry
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