Enum fontconfig_parser::Value [−][src]
pub enum Value {
Int(Int),
Double(Double),
String(CompactStr),
Constant(Constant),
Bool(Bool),
Range(Int, Int),
LangSet(CompactStr),
CharSet(CharSet),
Property(PropertyTarget, PropertyKind),
}Expand description
Runtime typed fontconfig value
Variants
Int(Int)<int>0</int>
Tuple Fields of Int
0: IntDouble(Double)<double>1.5</double>
Tuple Fields of Double
0: DoubleString(CompactStr)<string>str</string>
Tuple Fields of String
0: CompactStrConstant(Constant)<const>hintslight</const>
Tuple Fields of Constant
0: ConstantBool(Bool)<bool>false</bool>
Tuple Fields of Bool
0: BoolThis element holds the two Value::Int elements of a range representation.
LangSet(CompactStr)This element holds at least one Value::String element of a RFC-3066-style languages or more.
Tuple Fields of LangSet
0: CompactStrCharSet(CharSet)This element holds at least one Value::Int element of an Unicode code point or more.
Tuple Fields of CharSet
0: CharSetProperty(PropertyTarget, PropertyKind)<name target="font">pixelsize</name>
Tuple Fields of Property
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more