[][src]Struct png_pong::chunk::TextChunk

pub struct TextChunk {
    pub key: String,
    pub val: String,
}

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

impl Debug for TextChunk[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]