Enum freetype::freetype::_bindgen_ty_2

source ·
#[repr(u32)]
pub enum _bindgen_ty_2 {
Show 92 variants FT_Err_Ok = 0, FT_Err_Cannot_Open_Resource = 1, FT_Err_Unknown_File_Format = 2, FT_Err_Invalid_File_Format = 3, FT_Err_Invalid_Version = 4, FT_Err_Lower_Module_Version = 5, FT_Err_Invalid_Argument = 6, FT_Err_Unimplemented_Feature = 7, FT_Err_Invalid_Table = 8, FT_Err_Invalid_Offset = 9, FT_Err_Array_Too_Large = 10, FT_Err_Missing_Module = 11, FT_Err_Missing_Property = 12, FT_Err_Invalid_Glyph_Index = 16, FT_Err_Invalid_Character_Code = 17, FT_Err_Invalid_Glyph_Format = 18, FT_Err_Cannot_Render_Glyph = 19, FT_Err_Invalid_Outline = 20, FT_Err_Invalid_Composite = 21, FT_Err_Too_Many_Hints = 22, FT_Err_Invalid_Pixel_Size = 23, FT_Err_Invalid_Handle = 32, FT_Err_Invalid_Library_Handle = 33, FT_Err_Invalid_Driver_Handle = 34, FT_Err_Invalid_Face_Handle = 35, FT_Err_Invalid_Size_Handle = 36, FT_Err_Invalid_Slot_Handle = 37, FT_Err_Invalid_CharMap_Handle = 38, FT_Err_Invalid_Cache_Handle = 39, FT_Err_Invalid_Stream_Handle = 40, FT_Err_Too_Many_Drivers = 48, FT_Err_Too_Many_Extensions = 49, FT_Err_Out_Of_Memory = 64, FT_Err_Unlisted_Object = 65, FT_Err_Cannot_Open_Stream = 81, FT_Err_Invalid_Stream_Seek = 82, FT_Err_Invalid_Stream_Skip = 83, FT_Err_Invalid_Stream_Read = 84, FT_Err_Invalid_Stream_Operation = 85, FT_Err_Invalid_Frame_Operation = 86, FT_Err_Nested_Frame_Access = 87, FT_Err_Invalid_Frame_Read = 88, FT_Err_Raster_Uninitialized = 96, FT_Err_Raster_Corrupted = 97, FT_Err_Raster_Overflow = 98, FT_Err_Raster_Negative_Height = 99, FT_Err_Too_Many_Caches = 112, FT_Err_Invalid_Opcode = 128, FT_Err_Too_Few_Arguments = 129, FT_Err_Stack_Overflow = 130, FT_Err_Code_Overflow = 131, FT_Err_Bad_Argument = 132, FT_Err_Divide_By_Zero = 133, FT_Err_Invalid_Reference = 134, FT_Err_Debug_OpCode = 135, FT_Err_ENDF_In_Exec_Stream = 136, FT_Err_Nested_DEFS = 137, FT_Err_Invalid_CodeRange = 138, FT_Err_Execution_Too_Long = 139, FT_Err_Too_Many_Function_Defs = 140, FT_Err_Too_Many_Instruction_Defs = 141, FT_Err_Table_Missing = 142, FT_Err_Horiz_Header_Missing = 143, FT_Err_Locations_Missing = 144, FT_Err_Name_Table_Missing = 145, FT_Err_CMap_Table_Missing = 146, FT_Err_Hmtx_Table_Missing = 147, FT_Err_Post_Table_Missing = 148, FT_Err_Invalid_Horiz_Metrics = 149, FT_Err_Invalid_CharMap_Format = 150, FT_Err_Invalid_PPem = 151, FT_Err_Invalid_Vert_Metrics = 152, FT_Err_Could_Not_Find_Context = 153, FT_Err_Invalid_Post_Table_Format = 154, FT_Err_Invalid_Post_Table = 155, FT_Err_Syntax_Error = 160, FT_Err_Stack_Underflow = 161, FT_Err_Ignore = 162, FT_Err_No_Unicode_Glyph_Name = 163, FT_Err_Glyph_Too_Big = 164, FT_Err_Missing_Startfont_Field = 176, FT_Err_Missing_Font_Field = 177, FT_Err_Missing_Size_Field = 178, FT_Err_Missing_Fontboundingbox_Field = 179, FT_Err_Missing_Chars_Field = 180, FT_Err_Missing_Startchar_Field = 181, FT_Err_Missing_Encoding_Field = 182, FT_Err_Missing_Bbx_Field = 183, FT_Err_Bbx_Too_Big = 184, FT_Err_Corrupted_Font_Header = 185, FT_Err_Corrupted_Font_Glyphs = 186, FT_Err_Max = 187,
}

Variants§

§

FT_Err_Ok = 0

§

FT_Err_Cannot_Open_Resource = 1

§

FT_Err_Unknown_File_Format = 2

§

FT_Err_Invalid_File_Format = 3

§

FT_Err_Invalid_Version = 4

§

FT_Err_Lower_Module_Version = 5

§

FT_Err_Invalid_Argument = 6

§

FT_Err_Unimplemented_Feature = 7

§

FT_Err_Invalid_Table = 8

§

FT_Err_Invalid_Offset = 9

§

FT_Err_Array_Too_Large = 10

§

FT_Err_Missing_Module = 11

§

FT_Err_Missing_Property = 12

§

FT_Err_Invalid_Glyph_Index = 16

§

FT_Err_Invalid_Character_Code = 17

§

FT_Err_Invalid_Glyph_Format = 18

§

FT_Err_Cannot_Render_Glyph = 19

§

FT_Err_Invalid_Outline = 20

§

FT_Err_Invalid_Composite = 21

§

FT_Err_Too_Many_Hints = 22

§

FT_Err_Invalid_Pixel_Size = 23

§

FT_Err_Invalid_Handle = 32

§

FT_Err_Invalid_Library_Handle = 33

§

FT_Err_Invalid_Driver_Handle = 34

§

FT_Err_Invalid_Face_Handle = 35

§

FT_Err_Invalid_Size_Handle = 36

§

FT_Err_Invalid_Slot_Handle = 37

§

FT_Err_Invalid_CharMap_Handle = 38

§

FT_Err_Invalid_Cache_Handle = 39

§

FT_Err_Invalid_Stream_Handle = 40

§

FT_Err_Too_Many_Drivers = 48

§

FT_Err_Too_Many_Extensions = 49

§

FT_Err_Out_Of_Memory = 64

§

FT_Err_Unlisted_Object = 65

§

FT_Err_Cannot_Open_Stream = 81

§

FT_Err_Invalid_Stream_Seek = 82

§

FT_Err_Invalid_Stream_Skip = 83

§

FT_Err_Invalid_Stream_Read = 84

§

FT_Err_Invalid_Stream_Operation = 85

§

FT_Err_Invalid_Frame_Operation = 86

§

FT_Err_Nested_Frame_Access = 87

§

FT_Err_Invalid_Frame_Read = 88

§

FT_Err_Raster_Uninitialized = 96

§

FT_Err_Raster_Corrupted = 97

§

FT_Err_Raster_Overflow = 98

§

FT_Err_Raster_Negative_Height = 99

§

FT_Err_Too_Many_Caches = 112

§

FT_Err_Invalid_Opcode = 128

§

FT_Err_Too_Few_Arguments = 129

§

FT_Err_Stack_Overflow = 130

§

FT_Err_Code_Overflow = 131

§

FT_Err_Bad_Argument = 132

§

FT_Err_Divide_By_Zero = 133

§

FT_Err_Invalid_Reference = 134

§

FT_Err_Debug_OpCode = 135

§

FT_Err_ENDF_In_Exec_Stream = 136

§

FT_Err_Nested_DEFS = 137

§

FT_Err_Invalid_CodeRange = 138

§

FT_Err_Execution_Too_Long = 139

§

FT_Err_Too_Many_Function_Defs = 140

§

FT_Err_Too_Many_Instruction_Defs = 141

§

FT_Err_Table_Missing = 142

§

FT_Err_Horiz_Header_Missing = 143

§

FT_Err_Locations_Missing = 144

§

FT_Err_Name_Table_Missing = 145

§

FT_Err_CMap_Table_Missing = 146

§

FT_Err_Hmtx_Table_Missing = 147

§

FT_Err_Post_Table_Missing = 148

§

FT_Err_Invalid_Horiz_Metrics = 149

§

FT_Err_Invalid_CharMap_Format = 150

§

FT_Err_Invalid_PPem = 151

§

FT_Err_Invalid_Vert_Metrics = 152

§

FT_Err_Could_Not_Find_Context = 153

§

FT_Err_Invalid_Post_Table_Format = 154

§

FT_Err_Invalid_Post_Table = 155

§

FT_Err_Syntax_Error = 160

§

FT_Err_Stack_Underflow = 161

§

FT_Err_Ignore = 162

§

FT_Err_No_Unicode_Glyph_Name = 163

§

FT_Err_Glyph_Too_Big = 164

§

FT_Err_Missing_Startfont_Field = 176

§

FT_Err_Missing_Font_Field = 177

§

FT_Err_Missing_Size_Field = 178

§

FT_Err_Missing_Fontboundingbox_Field = 179

§

FT_Err_Missing_Chars_Field = 180

§

FT_Err_Missing_Startchar_Field = 181

§

FT_Err_Missing_Encoding_Field = 182

§

FT_Err_Missing_Bbx_Field = 183

§

FT_Err_Bbx_Too_Big = 184

§

FT_Err_Corrupted_Font_Header = 185

§

FT_Err_Corrupted_Font_Glyphs = 186

§

FT_Err_Max = 187

Trait Implementations§

source§

impl Clone for _bindgen_ty_2

source§

fn clone(&self) -> _bindgen_ty_2

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for _bindgen_ty_2

source§

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

Formats the value using the given formatter. Read more
source§

impl Hash for _bindgen_ty_2

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for _bindgen_ty_2

source§

fn eq(&self, other: &_bindgen_ty_2) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for _bindgen_ty_2

source§

impl Eq for _bindgen_ty_2

source§

impl StructuralPartialEq for _bindgen_ty_2

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.