pub enum Png {}Trait Implementations§
Source§impl MetadataMarker for Png
impl MetadataMarker for Png
type Metadata = Metadata
Source§fn from_generic(gmd: GenericMetadata) -> Result<Metadata, GenericMetadata>
fn from_generic(gmd: GenericMetadata) -> Result<Metadata, GenericMetadata>
Tries to convert the given
GenericMetadata instance into a concrete metadata type. Read moreSource§fn from_generic_ref(gmd: &GenericMetadata) -> Option<&Metadata>
fn from_generic_ref(gmd: &GenericMetadata) -> Option<&Metadata>
Tries to extract a reference to a concrete metadata type from the given
GenericMetadata reference. Read moreSource§fn load<R: ?Sized + BufRead>(r: &mut R) -> Result<Metadata>
fn load<R: ?Sized + BufRead>(r: &mut R) -> Result<Metadata>
Attempts to load metadata for an image of a concrete type from the provided reader. Read more
Source§fn load_from_seek<R: ?Sized + BufRead + Seek>(r: &mut R) -> Result<Metadata>
fn load_from_seek<R: ?Sized + BufRead + Seek>(r: &mut R) -> Result<Metadata>
Attempts to load metadata for an image of a concrete type from the provided
seekable reader. Read more
Auto Trait Implementations§
impl Freeze for Png
impl RefUnwindSafe for Png
impl Send for Png
impl Sync for Png
impl Unpin for Png
impl UnsafeUnpin for Png
impl UnwindSafe for Png
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