Struct savory_elements::view::text::TextLens[][src]

pub struct TextLens<'lens> {
    pub disabled: bool,
    pub size: Option<&'lens Size>,
    pub style: Option<FontStyle>,
    pub small_caps: bool,
    pub weight: Option<Weight>,
    pub color: Option<Color>,
    pub letter_spacing: Option<&'lens Length>,
    pub word_spacing: Option<&'lens Length>,
    pub lines_spacing: Option<&'lens LineHeight>,
    pub align: Option<TextAlign>,
    pub justify_by: Option<TextJustify>,
    pub indent: Option<&'lens TextIndent>,
    pub wrap: bool,
    pub shadow: Option<&'lens TextShadow>,
}

Fields

disabled: boolsize: Option<&'lens Size>style: Option<FontStyle>small_caps: boolweight: Option<Weight>color: Option<Color>letter_spacing: Option<&'lens Length>word_spacing: Option<&'lens Length>lines_spacing: Option<&'lens LineHeight>align: Option<TextAlign>justify_by: Option<TextJustify>indent: Option<&'lens TextIndent>wrap: boolshadow: Option<&'lens TextShadow>

Auto Trait Implementations

impl<'lens> RefUnwindSafe for TextLens<'lens>

impl<'lens> Send for TextLens<'lens>

impl<'lens> Sync for TextLens<'lens>

impl<'lens> Unpin for TextLens<'lens>

impl<'lens> UnwindSafe for TextLens<'lens>

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    T: Component + Float,
    D: AdaptFrom<S, Swp, Dwp, T>,
    Swp: WhitePoint,
    Dwp: WhitePoint
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,