Enum tfm::FaceWeight
source · pub enum FaceWeight {
Light,
Medium,
Bold,
}
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for FaceWeight
impl<'arbitrary> Arbitrary<'arbitrary> for FaceWeight
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for FaceWeight
impl Clone for FaceWeight
source§fn clone(&self) -> FaceWeight
fn clone(&self) -> FaceWeight
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 FaceWeight
impl Debug for FaceWeight
source§impl PartialEq<FaceWeight> for FaceWeight
impl PartialEq<FaceWeight> for FaceWeight
source§fn eq(&self, other: &FaceWeight) -> bool
fn eq(&self, other: &FaceWeight) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FaceWeight
impl Eq for FaceWeight
impl StructuralEq for FaceWeight
impl StructuralPartialEq for FaceWeight
Auto Trait Implementations§
impl RefUnwindSafe for FaceWeight
impl Send for FaceWeight
impl Sync for FaceWeight
impl Unpin for FaceWeight
impl UnwindSafe for FaceWeight
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