Enum avenger::marks::text::FontStyleSpec
source · pub enum FontStyleSpec {
Normal,
Italic,
}Variants§
Trait Implementations§
source§impl Clone for FontStyleSpec
impl Clone for FontStyleSpec
source§fn clone(&self) -> FontStyleSpec
fn clone(&self) -> FontStyleSpec
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 FontStyleSpec
impl Debug for FontStyleSpec
source§impl Default for FontStyleSpec
impl Default for FontStyleSpec
source§fn default() -> FontStyleSpec
fn default() -> FontStyleSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FontStyleSpec
impl<'de> Deserialize<'de> for FontStyleSpec
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for FontStyleSpec
impl PartialEq for FontStyleSpec
source§fn eq(&self, other: &FontStyleSpec) -> bool
fn eq(&self, other: &FontStyleSpec) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for FontStyleSpec
impl Serialize for FontStyleSpec
impl Copy for FontStyleSpec
impl StructuralPartialEq for FontStyleSpec
Auto Trait Implementations§
impl RefUnwindSafe for FontStyleSpec
impl Send for FontStyleSpec
impl Sync for FontStyleSpec
impl Unpin for FontStyleSpec
impl UnwindSafe for FontStyleSpec
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