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 for FaceWeight
impl PartialEq for FaceWeight
impl Copy for FaceWeight
impl Eq for FaceWeight
impl StructuralPartialEq for FaceWeight
Auto Trait Implementations§
impl Freeze for FaceWeight
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)