[][src]Enum makepad_widget::DockItem

pub enum DockItem<TItem> where
    TItem: Clone
{ Single(TItem), TabControl { current: usize, previous: usize, tabs: Vec<DockTab<TItem>>, }, Splitter { pos: f32, align: SplitterAlign, axis: Axis, first: Box<DockItem<TItem>>, last: Box<DockItem<TItem>>, }, }

Variants

Single(TItem)
TabControl

Fields of TabControl

current: usizeprevious: usizetabs: Vec<DockTab<TItem>>
Splitter

Fields of Splitter

pos: f32align: SplitterAlignaxis: Axisfirst: Box<DockItem<TItem>>last: Box<DockItem<TItem>>

Trait Implementations

impl<TItem: Clone> Clone for DockItem<TItem> where
    TItem: Clone
[src]

impl<TItem> Serialize for DockItem<TItem> where
    TItem: Clone,
    TItem: Serialize
[src]

impl<'de, TItem> Deserialize<'de> for DockItem<TItem> where
    TItem: Clone,
    TItem: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<TItem> Send for DockItem<TItem> where
    TItem: Send

impl<TItem> Sync for DockItem<TItem> where
    TItem: Sync

impl<TItem> Unpin for DockItem<TItem> where
    TItem: Unpin

impl<TItem> UnwindSafe for DockItem<TItem> where
    TItem: UnwindSafe

impl<TItem> RefUnwindSafe for DockItem<TItem> where
    TItem: RefUnwindSafe

Blanket Implementations

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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]