pub struct Metadata {
pub physical: Option<PhysicalDimensions>,
pub text: Vec<TextEntry>,
}Expand description
Ancillary information decoded from a PNG file.
Fields§
§physical: Option<PhysicalDimensions>Physical pixel dimensions, from pHYs.
text: Vec<TextEntry>Text entries from tEXt, zTXt and iTXt chunks, in file order.
Trait Implementations§
impl Eq for Metadata
impl StructuralPartialEq for Metadata
Auto Trait Implementations§
impl Forget for Metadata
impl Freeze for Metadata
impl Move for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnsafeUnpin for Metadata
impl UnwindSafe for Metadata
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