Enum bdf::Error
[−]
[src]
pub enum Error { IO(Error), Parse(ParseIntError), MissingVersion, MissingBoundingBox, MissingValue(String), InvalidCodepoint, End, MalformedFont, MalformedProperties, MalformedChar, }
Errors for Reader
and Writer
.
Variants
IO(Error)
A downstream IO error.
Parse(ParseIntError)
A downstream parsing error.
MissingVersion
STARTFONT
is missing the format version.
MissingBoundingBox
There was no bounding box for a character.
MissingValue(String)
An entry is missing a value.
InvalidCodepoint
An unknown error.
End
Eof has been reached.
MalformedFont
The font declaration is malformed.
MalformedProperties
The property declarations are malformed.
MalformedChar
The character declaration is malformed.
Trait Implementations
impl Debug for Error
[src]
impl From<Error> for Error
[src]
impl From<ParseIntError> for Error
[src]
fn from(value: ParseIntError) -> Self
Performs the conversion.