pub enum Src {
Url(String),
Local(String),
}Expand description
One entry of a @font-face src list.
Variants§
Url(String)
A url for the host loader to resolve. The engine opens nothing itself.
Local(String)
A face by name, for a host that has one installed.
Trait Implementations§
impl StructuralPartialEq for Src
Auto Trait Implementations§
impl Freeze for Src
impl RefUnwindSafe for Src
impl Send for Src
impl Sync for Src
impl Unpin for Src
impl UnsafeUnpin for Src
impl UnwindSafe for Src
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.