[][src]Enum conrod_core::widget::drop_down_list::MaxHeight

pub enum MaxHeight {
    Items(usize),
    Scalar(f64),
}

Representations of the max height of the visible area of the DropDownList.

Variants

Items(usize)

Specify the max height as a number of items.

Scalar(f64)

Specify the max height as an absolute scalar distance.

Trait Implementations

impl Clone for MaxHeight[src]

impl Copy for MaxHeight[src]

impl Debug for MaxHeight[src]

impl PartialEq<MaxHeight> for MaxHeight[src]

impl StructuralPartialEq for MaxHeight[src]

Auto Trait Implementations

impl RefUnwindSafe for MaxHeight

impl Send for MaxHeight

impl Sync for MaxHeight

impl Unpin for MaxHeight

impl UnwindSafe for MaxHeight

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> Style for T where
    T: Any + Debug + PartialEq<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.