pub struct Pattern {
d: *mut FcPattern,
c_strings: Vec<CString>,
}
Fields§
§d: *mut FcPattern
§c_strings: Vec<CString>
Implementations§
source§impl Pattern
impl Pattern
fn from_ptr(d: *mut FcPattern) -> Self
pub fn new() -> Self
pub fn from_name(name: &str) -> Self
pub fn push_string(&mut self, object: Object, value: String)
pub fn config_substitute(&mut self, match_kind: MatchKind)
pub fn default_substitute(&mut self)
pub fn sorted(&self, config: &Config) -> Result<FontSet, Error>
pub fn list(&self, config: &Config, set: ObjectSet) -> Result<FontSet, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pattern
impl RefUnwindSafe for Pattern
impl !Send for Pattern
impl !Sync for Pattern
impl Unpin for Pattern
impl UnwindSafe for Pattern
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