[−][src]Struct elvis::TextStyle
style of Text
Fields
bold: bool
color: Colors
italic: bool
size: Unit
weight: Unit
height: Unit
stretch: Unit
Methods
impl TextStyle
[src]
pub fn new(
bold: bool,
color: Colors,
italic: bool,
size: Unit,
weight: Unit,
height: Unit,
stretch: Unit
) -> TextStyle
[src]
bold: bool,
color: Colors,
italic: bool,
size: Unit,
weight: Unit,
height: Unit,
stretch: Unit
) -> TextStyle
Trait Implementations
impl Clone for TextStyle
[src]
impl Debug for TextStyle
[src]
impl Default for TextStyle
[src]
impl Eq for TextStyle
[src]
impl PartialEq<TextStyle> for TextStyle
[src]
impl Serde<TextStyle, String> for TextStyle
[src]
impl StructuralEq for TextStyle
[src]
impl StructuralPartialEq for TextStyle
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextStyle
impl Send for TextStyle
impl Sync for TextStyle
impl Unpin for TextStyle
impl UnwindSafe for TextStyle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,