pub struct Text {
pub key: String,
pub val: String,
}
Expand description
Non-International Text Chunk Data (tEXt and zTXt)
Fields§
§key: String
A keyword that gives a short description of what the text in val
represents, e.g. Title, Author, Description, or anything else. Minimum
of 1 character, and maximum 79 characters long.
val: String
The actual message. It’s discouraged to use a single line length longer than 79 characters
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Text
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnwindSafe for Text
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