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
impl Eq for TEXtChunk
impl StructuralPartialEq for TEXtChunk
Auto Trait Implementations§
impl Freeze for TEXtChunk
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)