[][src]Trait chargrid_event_routine::View

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

Required methods

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

Loading content...

Provided methods

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

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

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...