#[repr(C)]pub enum FontDatabase {
Empty = 0,
System = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for FontDatabase
impl Clone for FontDatabase
Source§fn clone(&self) -> FontDatabase
fn clone(&self) -> FontDatabase
Returns a copy of the value. Read more
1.0.0 · 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 FontDatabase
impl Debug for FontDatabase
Source§impl Hash for FontDatabase
impl Hash for FontDatabase
Source§impl Ord for FontDatabase
impl Ord for FontDatabase
Source§fn cmp(&self, other: &FontDatabase) -> Ordering
fn cmp(&self, other: &FontDatabase) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FontDatabase
impl PartialEq for FontDatabase
Source§impl PartialOrd for FontDatabase
impl PartialOrd for FontDatabase
impl Copy for FontDatabase
impl Eq for FontDatabase
impl StructuralPartialEq for FontDatabase
Auto Trait Implementations§
impl Freeze for FontDatabase
impl RefUnwindSafe for FontDatabase
impl Send for FontDatabase
impl Sync for FontDatabase
impl Unpin for FontDatabase
impl UnwindSafe for FontDatabase
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