Struct png_pong::chunk::CompressedText
source · pub struct CompressedText {
pub key: String,
pub val: String,
}
Expand description
Compressed Text Chunk Data (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§
source§impl Clone for CompressedText
impl Clone for CompressedText
source§fn clone(&self) -> CompressedText
fn clone(&self) -> CompressedText
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 CompressedText
impl RefUnwindSafe for CompressedText
impl Send for CompressedText
impl Sync for CompressedText
impl Unpin for CompressedText
impl UnwindSafe for CompressedText
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