[][src]Struct ajour_widgets::header::Header

pub struct Header<'a, Message, Renderer> where
    Renderer: Renderer
{ /* fields omitted */ }

Implementations

impl<'a, Message, Renderer> Header<'a, Message, Renderer> where
    Renderer: 'a + Renderer,
    Message: 'a, 
[src]

pub fn new(
    state: &'a mut State,
    headers: Vec<(String, Container<'a, Message, Renderer>)>,
    left_margin: Option<Length>,
    right_margin: Option<Length>
) -> Self
[src]

pub fn spacing(self, units: u16) -> Self[src]

pub fn width(self, width: Length) -> Self[src]

pub fn height(self, height: Length) -> Self[src]

pub fn on_resize<F>(self, leeway: u16, f: F) -> Self where
    F: 'a + Fn(ResizeEvent) -> Message, 
[src]

Trait Implementations

impl<'a, Message, Renderer> From<Header<'a, Message, Renderer>> for Element<'a, Message, Renderer> where
    Renderer: 'a + Renderer,
    Message: 'a, 
[src]

impl<'a, Message, Renderer> Widget<Message, Renderer> for Header<'a, Message, Renderer> where
    Renderer: 'a + Renderer,
    Message: 'a, 
[src]

Auto Trait Implementations

impl<'a, Message, Renderer> !RefUnwindSafe for Header<'a, Message, Renderer>

impl<'a, Message, Renderer> !Send for Header<'a, Message, Renderer>

impl<'a, Message, Renderer> !Sync for Header<'a, Message, Renderer>

impl<'a, Message, Renderer> Unpin for Header<'a, Message, Renderer>

impl<'a, Message, Renderer> !UnwindSafe for Header<'a, Message, Renderer>

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,