Enum rbx_types::FontWeight
source · pub enum FontWeight {
Thin,
ExtraLight,
Light,
Regular,
Medium,
SemiBold,
Bold,
ExtraBold,
Heavy,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for FontWeight
impl Clone for FontWeight
source§fn clone(&self) -> FontWeight
fn clone(&self) -> FontWeight
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 FontWeight
impl Debug for FontWeight
source§impl Default for FontWeight
impl Default for FontWeight
source§fn default() -> FontWeight
fn default() -> FontWeight
Returns the “default value” for a type. Read more
source§impl Hash for FontWeight
impl Hash for FontWeight
source§impl PartialEq for FontWeight
impl PartialEq for FontWeight
source§fn eq(&self, other: &FontWeight) -> bool
fn eq(&self, other: &FontWeight) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FontWeight
impl Eq for FontWeight
impl StructuralEq for FontWeight
impl StructuralPartialEq for FontWeight
Auto Trait Implementations§
impl RefUnwindSafe for FontWeight
impl Send for FontWeight
impl Sync for FontWeight
impl Unpin for FontWeight
impl UnwindSafe for FontWeight
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