[−][src]Struct polyhorn_style::Style
Fields
background_color: P::Color
border_radius: BorderRadius
position: Position
opacity: f32
flex_basis: Dimension
flex_grow: f32
flex_shrink: f32
flex_direction: FlexDirection
align_items: AlignItems
justify_content: JustifyContent
padding: Padding
margin: Margin
width: Dimension
height: Dimension
min_height: Dimension
min_width: Dimension
max_height: Dimension
max_width: Dimension
transform_translation_x: f32
visibility: Visibility
Trait Implementations
impl<P> Clone for Style<P> where
P: Platform,
[src]
P: Platform,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<P> Debug for Style<P> where
P: Platform,
[src]
P: Platform,
impl<P> Default for Style<P> where
P: Platform,
[src]
P: Platform,
Auto Trait Implementations
impl<P> RefUnwindSafe for Style<P> where
<P as Platform>::Color: RefUnwindSafe,
<P as Platform>::Color: RefUnwindSafe,
impl<P> Send for Style<P> where
<P as Platform>::Color: Send,
<P as Platform>::Color: Send,
impl<P> Sync for Style<P> where
<P as Platform>::Color: Sync,
<P as Platform>::Color: Sync,
impl<P> Unpin for Style<P> where
<P as Platform>::Color: Unpin,
<P as Platform>::Color: Unpin,
impl<P> UnwindSafe for Style<P> where
<P as Platform>::Color: UnwindSafe,
<P as Platform>::Color: UnwindSafe,
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>,