pub struct Context { /* private fields */ }Implementations
sourceimpl Context
impl Context
pub fn new() -> Self
pub fn new_scaler<'a>(
&'a mut self,
provider: &impl TableProvider<'a>
) -> Builder<'a>
pub fn new_scaler_with_id<'a>(
&'a mut self,
font: &FontRef<'a>,
font_id: u64
) -> Builder<'a>
Auto Trait Implementations
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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