Enum fontconfig_parser::Value
source · [−]pub enum Value {
Int(Int),
Double(Double),
String(String),
Constant(Constant),
Bool(Bool),
Range(Int, Int),
LangSet(String),
CharSet(CharSet),
Property(PropertyTarget, PropertyKind),
}
Expand description
Runtime typed fontconfig value
Variants
Int(Int)
<int>0</int>
Double(Double)
<double>1.5</double>
String(String)
<string>str</string>
Constant(Constant)
<const>hintslight</const>
Bool(Bool)
<bool>false</bool>
Range(Int, Int)
This element holds the two Value::Int
elements of a range representation.
LangSet(String)
This element holds at least one Value::String
element of a RFC-3066-style languages or more.
CharSet(CharSet)
This element holds at least one Value::Int
element of an Unicode code point or more.
Property(PropertyTarget, PropertyKind)
<name target="font">pixelsize</name>
Trait Implementations
sourceimpl From<(PropertyTarget, PropertyKind)> for Value
impl From<(PropertyTarget, PropertyKind)> for Value
sourcefn from((target, kind): (PropertyTarget, PropertyKind)) -> Self
fn from((target, kind): (PropertyTarget, PropertyKind)) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Value
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more