Struct png::text_metadata::TEXtChunk
source · pub struct TEXtChunk {
pub keyword: String,
pub text: String,
}
Expand description
Struct representing a tEXt chunk
Fields§
§keyword: String
Keyword field of the tEXt chunk. Needs to be between 1-79 bytes when encoded as Latin-1.
text: String
Text field of tEXt chunk. Can be at most 2GB.
Implementations§
Trait Implementations§
source§impl EncodableTextChunk for TEXtChunk
impl EncodableTextChunk for TEXtChunk
source§impl PartialEq for TEXtChunk
impl PartialEq for TEXtChunk
impl Eq for TEXtChunk
impl StructuralEq for TEXtChunk
impl StructuralPartialEq for TEXtChunk
Auto Trait Implementations§
impl RefUnwindSafe for TEXtChunk
impl Send for TEXtChunk
impl Sync for TEXtChunk
impl Unpin for TEXtChunk
impl UnwindSafe for TEXtChunk
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