Struct png_pong::chunk::InternationalText
source · pub struct InternationalText {
pub key: String,
pub langtag: String,
pub transkey: String,
pub val: String,
pub compressed: bool,
}
Expand description
International Text Chunk Data (iTXt)
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.
langtag: String
Additional string “langtag”
transkey: String
Additional string “transkey”
val: String
The actual message. It’s discouraged to use a single line length longer than 79 characters
compressed: bool
If the text should be compressed
Trait Implementations§
source§impl Clone for InternationalText
impl Clone for InternationalText
source§fn clone(&self) -> InternationalText
fn clone(&self) -> InternationalText
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for InternationalText
impl RefUnwindSafe for InternationalText
impl Send for InternationalText
impl Sync for InternationalText
impl Unpin for InternationalText
impl UnwindSafe for InternationalText
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