Trait chargrid_event_routine::View[][src]

pub trait View<T> {
    pub fn view<F, C>(
        &mut self,
        data: T,
        context: ViewContext<C>,
        frame: &mut F
    )
    where
        C: ColModify,
        F: Frame
; pub fn size<C>(&mut self, data: T, context: ViewContext<C>) -> Size
    where
        C: ColModify
, { ... }
pub fn view_size<F, C>(
        &mut self,
        data: T,
        context: ViewContext<C>,
        frame: &mut F
    ) -> Size
    where
        C: ColModify,
        F: Frame
, { ... } }

Required methods

pub fn view<F, C>(&mut self, data: T, context: ViewContext<C>, frame: &mut F) where
    C: ColModify,
    F: Frame
[src]

Loading content...

Provided methods

pub fn size<C>(&mut self, data: T, context: ViewContext<C>) -> Size where
    C: ColModify
[src]

pub fn view_size<F, C>(
    &mut self,
    data: T,
    context: ViewContext<C>,
    frame: &mut F
) -> Size where
    C: ColModify,
    F: Frame
[src]

Loading content...

Implementations on Foreign Types

impl<'a, T, V> View<T> for &'a mut V where
    V: View<T>, 
[src]

Loading content...

Implementors

impl<'e, 'v, 'd, E> View<&'d <E as EventRoutine>::Data> for EventRoutineView<'e, 'v, E> where
    E: EventRoutine
[src]

Loading content...