Enum respo::CssFontWeight
source · pub enum CssFontWeight {
Normal,
Bold,
Bolder,
Lighter,
Weight(u32),
}
Variants§
Trait Implementations§
source§impl Clone for CssFontWeight
impl Clone for CssFontWeight
source§fn clone(&self) -> CssFontWeight
fn clone(&self) -> CssFontWeight
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 CssFontWeight
impl Debug for CssFontWeight
source§impl Display for CssFontWeight
impl Display for CssFontWeight
source§impl Hash for CssFontWeight
impl Hash for CssFontWeight
source§impl PartialEq<CssFontWeight> for CssFontWeight
impl PartialEq<CssFontWeight> for CssFontWeight
source§fn eq(&self, other: &CssFontWeight) -> bool
fn eq(&self, other: &CssFontWeight) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CssFontWeight
impl StructuralEq for CssFontWeight
impl StructuralPartialEq for CssFontWeight
Auto Trait Implementations§
impl RefUnwindSafe for CssFontWeight
impl Send for CssFontWeight
impl Sync for CssFontWeight
impl Unpin for CssFontWeight
impl UnwindSafe for CssFontWeight
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