pub struct ScopeMatchEngine { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for ScopeMatchEngine
impl Default for ScopeMatchEngine
Source§impl PolyfontEngine for ScopeMatchEngine
impl PolyfontEngine for ScopeMatchEngine
fn add_rule(&mut self, rule: FontRule)
fn remove_rule(&mut self, scope: &str)
fn rules(&self) -> &[FontRule]
fn resolve_token(&self, token: &TokenInfo) -> Option<FontAssignment>
fn resolve_all(&self, tokens: &[TokenInfo]) -> Vec<Option<FontAssignment>>
fn clear(&mut self)
Auto Trait Implementations§
impl Freeze for ScopeMatchEngine
impl RefUnwindSafe for ScopeMatchEngine
impl Send for ScopeMatchEngine
impl Sync for ScopeMatchEngine
impl Unpin for ScopeMatchEngine
impl UnsafeUnpin for ScopeMatchEngine
impl UnwindSafe for ScopeMatchEngine
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