pub enum DefinedFontStyle {
Regular,
Italic,
}
Variants§
Implementations§
Source§impl DefinedFontStyle
impl DefinedFontStyle
pub fn is_covered_by(&self, other: &DefinedFontStyle) -> bool
Trait Implementations§
Source§impl AsRef<str> for DefinedFontStyle
impl AsRef<str> for DefinedFontStyle
Source§impl Clone for DefinedFontStyle
impl Clone for DefinedFontStyle
Source§fn clone(&self) -> DefinedFontStyle
fn clone(&self) -> DefinedFontStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DefinedFontStyle
impl Debug for DefinedFontStyle
Source§impl Display for DefinedFontStyle
impl Display for DefinedFontStyle
Source§impl FromStr for DefinedFontStyle
impl FromStr for DefinedFontStyle
Source§impl Hash for DefinedFontStyle
impl Hash for DefinedFontStyle
Source§impl Ord for DefinedFontStyle
impl Ord for DefinedFontStyle
Source§fn cmp(&self, other: &DefinedFontStyle) -> Ordering
fn cmp(&self, other: &DefinedFontStyle) -> 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 DefinedFontStyle
impl PartialEq for DefinedFontStyle
Source§impl PartialOrd for DefinedFontStyle
impl PartialOrd for DefinedFontStyle
impl Copy for DefinedFontStyle
impl Eq for DefinedFontStyle
impl StructuralPartialEq for DefinedFontStyle
Auto Trait Implementations§
impl Freeze for DefinedFontStyle
impl RefUnwindSafe for DefinedFontStyle
impl Send for DefinedFontStyle
impl Sync for DefinedFontStyle
impl Unpin for DefinedFontStyle
impl UnwindSafe for DefinedFontStyle
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.