pub struct FontSet<'a, F: Font> {
pub regular: &'a F,
pub bold: &'a F,
pub italic: &'a F,
pub bold_italic: &'a F,
}Fields§
§regular: &'a F§bold: &'a F§italic: &'a F§bold_italic: &'a FTrait Implementations§
impl<'a, F: Font> Copy for FontSet<'a, F>
Auto Trait Implementations§
impl<'a, F> Freeze for FontSet<'a, F>
impl<'a, F> RefUnwindSafe for FontSet<'a, F>where
F: RefUnwindSafe,
impl<'a, F> Send for FontSet<'a, F>where
F: Sync,
impl<'a, F> Sync for FontSet<'a, F>where
F: Sync,
impl<'a, F> Unpin for FontSet<'a, F>
impl<'a, F> UnwindSafe for FontSet<'a, F>where
F: RefUnwindSafe,
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<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