Struct font_kit::family_handle::FamilyHandle
source · pub struct FamilyHandle { /* private fields */ }
Expand description
Encapsulates the information needed to locate and open the fonts in a family.
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) -> FamilyHandlewhere
I: Iterator<Item = Handle>,
pub fn from_font_handles<I>(fonts: I) -> FamilyHandlewhere I: Iterator<Item = Handle>,
Creates a set of font family handles.
Trait Implementations§
Auto Trait Implementations§
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