[][src]Enum polyhorn_android::styles::Overflow

pub enum Overflow {
    Visible,
    Hidden,
    Scroll,
}

Controls the way dimensions of views are adjusted when their content overflows their original boundaries.

Variants

Visible

If overflow is visible, views are adjusted to accommodate the larger content size.

Hidden

If overflow is hidden, views are not adjusted.

Scroll

If overflow is scroll, the view itself is not adjusted, but its dimensions are increased internally in the layout algorithm to account for the fact that it can be scrolled.

Trait Implementations

impl Clone for Overflow[src]

impl Copy for Overflow[src]

impl Debug for Overflow[src]

impl Default for Overflow[src]

impl Eq for Overflow[src]

impl FromStr for Overflow[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl PartialEq<Overflow> for Overflow[src]

impl StructuralEq for Overflow[src]

impl StructuralPartialEq for Overflow[src]

impl ToTokens for Overflow[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> AsAny for T where
    T: Any
[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<'a, T> Desc<'a, T> for T[src]

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

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

impl<T> IsDefault for T where
    T: PartialEq<T> + Default + Copy
[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.