Enum font_kit::properties::Style [−][src]
pub enum Style {
Normal,
Italic,
Oblique,
}Allows italic or oblique faces to be selected.
Variants
NormalA face that is neither italic not obliqued.
ItalicA form that is generally cursive in nature.
ObliqueA typically-sloped version of the regular face.
Trait Implementations
impl Clone for Style[src]
impl Clone for Stylefn clone(&self) -> Style[src]
fn clone(&self) -> StyleReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Style[src]
impl Copy for Styleimpl PartialEq for Style[src]
impl PartialEq for Stylefn eq(&self, other: &Style) -> bool[src]
fn eq(&self, other: &Style) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Debug for Style[src]
impl Debug for Stylefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Style[src]
impl Default for Styleimpl Display for Style[src]
impl Display for Style