[][src]Struct polyhorn_style::Style

pub struct Style<P> where
    P: Platform
{ pub background_color: P::Color, pub border_radius: BorderRadius, pub position: Position, pub opacity: f32, pub flex_basis: Dimension, pub flex_grow: f32, pub flex_shrink: f32, pub flex_direction: FlexDirection, pub align_items: AlignItems, pub justify_content: JustifyContent, pub padding: Padding, pub margin: Margin, pub width: Dimension, pub height: Dimension, pub min_height: Dimension, pub min_width: Dimension, pub max_height: Dimension, pub max_width: Dimension, pub transform_translation_x: f32, pub visibility: Visibility, }

Fields

background_color: P::Colorborder_radius: BorderRadiusposition: Positionopacity: f32flex_basis: Dimensionflex_grow: f32flex_shrink: f32flex_direction: FlexDirectionalign_items: AlignItemsjustify_content: JustifyContentpadding: Paddingmargin: Marginwidth: Dimensionheight: Dimensionmin_height: Dimensionmin_width: Dimensionmax_height: Dimensionmax_width: Dimensiontransform_translation_x: f32visibility: Visibility

Trait Implementations

impl<P> Clone for Style<P> where
    P: Platform
[src]

impl<P> Debug for Style<P> where
    P: Platform
[src]

impl<P> Default for Style<P> where
    P: Platform
[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for Style<P> where
    <P as Platform>::Color: RefUnwindSafe

impl<P> Send for Style<P> where
    <P as Platform>::Color: Send

impl<P> Sync for Style<P> where
    <P as Platform>::Color: Sync

impl<P> Unpin for Style<P> where
    <P as Platform>::Color: Unpin

impl<P> UnwindSafe for Style<P> where
    <P as Platform>::Color: UnwindSafe

Blanket Implementations

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> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.