#[non_exhaustive]#[repr(C)]pub enum Object {
Show 56 variants
Invalid = 0,
Family = 1,
FamilyLang = 2,
Style = 3,
StyleLang = 4,
FullName = 5,
FullNameLang = 6,
Slant = 7,
Weight = 8,
Width = 9,
Size = 10,
Aspect = 11,
PixelSize = 12,
Spacing = 13,
Foundry = 14,
AntiAlias = 15,
HintStyle = 16,
Hinting = 17,
VerticalLayout = 18,
AutoHint = 19,
GlobalAdvance = 20,
File = 21,
Index = 22,
Rasterizer = 23,
Outline = 24,
Scalable = 25,
Dpi = 26,
Rgba = 27,
Scale = 28,
MinSpace = 29,
CharWidth = 30,
CharHeight = 31,
Matrix = 32,
CharSet = 33,
Lang = 34,
FontVersion = 35,
Capability = 36,
FontFormat = 37,
Embolden = 38,
EmbeddedBitmap = 39,
Decorative = 40,
LcdFilter = 41,
NameLang = 42,
FontFeatures = 43,
PrgName = 44,
Hash = 45,
PostscriptName = 46,
Color = 47,
Symbol = 48,
FontVariations = 49,
Variable = 50,
FontHasHint = 51,
Order = 52,
DesktopName = 53,
NamedInstance = 54,
FontWrapper = 55,
}
Expand description
All the different object types supported by fontconfig.
(We currently only actually handle a few of these.)
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Invalid = 0
Family = 1
FamilyLang = 2
Style = 3
StyleLang = 4
FullName = 5
FullNameLang = 6
Slant = 7
Weight = 8
Width = 9
Size = 10
Aspect = 11
PixelSize = 12
Spacing = 13
Foundry = 14
AntiAlias = 15
HintStyle = 16
Hinting = 17
VerticalLayout = 18
AutoHint = 19
GlobalAdvance = 20
File = 21
Index = 22
Rasterizer = 23
Outline = 24
Scalable = 25
Dpi = 26
Rgba = 27
Scale = 28
MinSpace = 29
CharWidth = 30
CharHeight = 31
Matrix = 32
CharSet = 33
Lang = 34
FontVersion = 35
Capability = 36
FontFormat = 37
Embolden = 38
EmbeddedBitmap = 39
Decorative = 40
LcdFilter = 41
NameLang = 42
FontFeatures = 43
PrgName = 44
Hash = 45
PostscriptName = 46
Color = 47
Symbol = 48
FontVariations = 49
Variable = 50
FontHasHint = 51
Order = 52
DesktopName = 53
NamedInstance = 54
FontWrapper = 55
Trait Implementations§
impl Copy for Object
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more