Enum freetype::error::Error [−] [src]

pub enum Error {
    Ok,
    CannotOpenResource,
    UnknownFileFormat,
    InvalidFileFormat,
    InvalidVersion,
    LowerModuleVersion,
    InvalidArgument,
    UnimplementedFeature,
    InvalidTable,
    InvalidOffset,
    ArrayTooLarge,
    MissingModule,
    MissingProperty,
    InvalidGlyphIndex,
    InvalidCharacterCode,
    InvalidGlyphFormat,
    CannotRenderGlyph,
    InvalidOutline,
    InvalidComposite,
    TooManyHints,
    InvalidPixelSize,
    InvalidHandle,
    InvalidLibraryHandle,
    InvalidDriverHandle,
    InvalidFaceHandle,
    InvalidSizeHandle,
    InvalidSlotHandle,
    InvalidCharMapHandle,
    InvalidCacheHandle,
    InvalidStreamHandle,
    TooManyDrivers,
    TooManyExtensions,
    OutOfMemory,
    UnlistedObject,
    CannotOpenStream,
    InvalidStreamSeek,
    InvalidStreamSkip,
    InvalidStreamRead,
    InvalidStreamOperation,
    InvalidFrameOperation,
    NestedFrameAccess,
    InvalidFrameRead,
    RasterUninitialized,
    RasterCorrupted,
    RasterOverflow,
    RasterNegativeHeight,
    TooManyCaches,
    InvalidOpcode,
    TooFewArguments,
    StackOverflow,
    CodeOverflow,
    BadArgument,
    DivideByZero,
    InvalidReference,
    DebugOpCode,
    ENDFInExecStream,
    NestedDEFS,
    InvalidCodeRange,
    ExecutionTooLong,
    TooManyFunctionDefs,
    TooManyInstructionDefs,
    TableMissing,
    HorizHeaderMissing,
    LocationsMissing,
    NameTableMissing,
    CMapTableMissing,
    HmtxTableMissing,
    PostTableMissing,
    InvalidHorizMetrics,
    InvalidCharMapFormat,
    InvalidPPem,
    InvalidVertMetrics,
    CouldNotFindContext,
    InvalidPostTableFormat,
    InvalidPostTable,
    Syntax,
    StackUnderflow,
    Ignore,
    NoUnicodeGlyphName,
    MissingStartfontField,
    MissingFontField,
    MissingSizeField,
    MissingFontboundingboxField,
    MissingCharsField,
    MissingStartcharField,
    MissingEncodingField,
    MissingBbxField,
    BbxTooBig,
    CorruptedFontHeader,
    CorruptedFontGlyphs,
    Max,
    UnexpectedPixelMode,
    InvalidPath,
    Unknown,
}

Variants

Ok
CannotOpenResource
UnknownFileFormat
InvalidFileFormat
InvalidVersion
LowerModuleVersion
InvalidArgument
UnimplementedFeature
InvalidTable
InvalidOffset
ArrayTooLarge
MissingModule
MissingProperty
InvalidGlyphIndex
InvalidCharacterCode
InvalidGlyphFormat
CannotRenderGlyph
InvalidOutline
InvalidComposite
TooManyHints
InvalidPixelSize
InvalidHandle
InvalidLibraryHandle
InvalidDriverHandle
InvalidFaceHandle
InvalidSizeHandle
InvalidSlotHandle
InvalidCharMapHandle
InvalidCacheHandle
InvalidStreamHandle
TooManyDrivers
TooManyExtensions
OutOfMemory
UnlistedObject
CannotOpenStream
InvalidStreamSeek
InvalidStreamSkip
InvalidStreamRead
InvalidStreamOperation
InvalidFrameOperation
NestedFrameAccess
InvalidFrameRead
RasterUninitialized
RasterCorrupted
RasterOverflow
RasterNegativeHeight
TooManyCaches
InvalidOpcode
TooFewArguments
StackOverflow
CodeOverflow
BadArgument
DivideByZero
InvalidReference
DebugOpCode
ENDFInExecStream
NestedDEFS
InvalidCodeRange
ExecutionTooLong
TooManyFunctionDefs
TooManyInstructionDefs
TableMissing
HorizHeaderMissing
LocationsMissing
NameTableMissing
CMapTableMissing
HmtxTableMissing
PostTableMissing
InvalidHorizMetrics
InvalidCharMapFormat
InvalidPPem
InvalidVertMetrics
CouldNotFindContext
InvalidPostTableFormat
InvalidPostTable
Syntax
StackUnderflow
Ignore
NoUnicodeGlyphName
MissingStartfontField
MissingFontField
MissingSizeField
MissingFontboundingboxField
MissingCharsField
MissingStartcharField
MissingEncodingField
MissingBbxField
BbxTooBig
CorruptedFontHeader
CorruptedFontGlyphs
Max
UnexpectedPixelMode
InvalidPath
Unknown

Trait Implementations

impl From<i32> for Error

fn from(err: i32) -> Self

impl Display for Error

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Eq for Error

impl PartialEq for Error

fn eq(&self, __arg_0: &Error) -> bool

fn ne(&self, __arg_0: &Error) -> bool

impl Clone for Error

fn clone(&self) -> Error

fn clone_from(&mut self, source: &Self)

impl Copy for Error