pub struct LoadedTypefacePath {
pub path: String,
}Expand description
A font family identified by the path of one typeface file.
Fields§
§path: StringPath of the typeface file.
Implementations§
Source§impl LoadedTypefacePath
impl LoadedTypefacePath
Sourcepub fn new(path: impl Into<String>) -> LoadedTypefacePath
pub fn new(path: impl Into<String>) -> LoadedTypefacePath
Creates a family for the typeface file at path.
Trait Implementations§
Source§impl Clone for LoadedTypefacePath
impl Clone for LoadedTypefacePath
Source§fn clone(&self) -> LoadedTypefacePath
fn clone(&self) -> LoadedTypefacePath
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoadedTypefacePath
impl Debug for LoadedTypefacePath
impl Eq for LoadedTypefacePath
Source§impl Hash for LoadedTypefacePath
impl Hash for LoadedTypefacePath
Source§impl PartialEq for LoadedTypefacePath
impl PartialEq for LoadedTypefacePath
impl StructuralPartialEq for LoadedTypefacePath
Auto Trait Implementations§
impl Forget for LoadedTypefacePath
impl Freeze for LoadedTypefacePath
impl Move for LoadedTypefacePath
impl RefUnwindSafe for LoadedTypefacePath
impl Send for LoadedTypefacePath
impl Sync for LoadedTypefacePath
impl Unpin for LoadedTypefacePath
impl UnsafeUnpin for LoadedTypefacePath
impl UnwindSafe for LoadedTypefacePath
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more