pub struct Callback<'a> {
    pub filename: Option<&'a str>,
    pub line: &'a str,
    pub line_number: usize,
    pub kind: CallbackKind<'a>,
}
Expand description

The callback implemnters of Ini receive for each line parsed.

Fields

filename: Option<&'a str>

The filename of the current ini file (if any)

line: &'a str

The current line that has been parsed

line_number: usize

The line number of the current line

kind: CallbackKind<'a>

The kind of line parsed

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.