pub struct FontResolver { /* private fields */ }Expand description
Function registered with the app context that resolves a Font to its
hosted stylesheet URL.
Registered by RouterBuilderFontExt
when a font is added to the router, and read when a Font is used as an
attribute value in the view! macro.
Implementations§
Source§impl FontResolver
impl FontResolver
Auto Trait Implementations§
impl !RefUnwindSafe for FontResolver
impl !UnwindSafe for FontResolver
impl Freeze for FontResolver
impl Send for FontResolver
impl Sync for FontResolver
impl Unpin for FontResolver
impl UnsafeUnpin for FontResolver
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