Struct font_kit::family_handle::FamilyHandle
source · pub struct FamilyHandle {
pub(crate) fonts: Vec<Handle>,
}
Expand description
Encapsulates the information needed to locate and open the fonts in a family.
Fields§
§fonts: Vec<Handle>
Implementations§
source§impl FamilyHandle
impl FamilyHandle
sourcepub fn new() -> FamilyHandle
pub fn new() -> FamilyHandle
Creates an empty set of family handles.
sourcepub fn from_font_handles<I>(fonts: I) -> FamilyHandle
pub fn from_font_handles<I>(fonts: I) -> FamilyHandle
Creates a set of font family handles.
Trait Implementations§
source§impl Debug for FamilyHandle
impl Debug for FamilyHandle
Auto Trait Implementations§
impl Freeze for FamilyHandle
impl RefUnwindSafe for FamilyHandle
impl Send for FamilyHandle
impl Sync for FamilyHandle
impl Unpin for FamilyHandle
impl UnwindSafe for FamilyHandle
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