jessie-lib 0.1.11

The essential library for the Jessie UI framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::layoutinfo::LayoutInfo;
use std::any::Any;

pub trait Expectation<Message>
where
    Message: Any,
{
    fn init_state() -> Self;

    fn build(&mut self, layout: &mut LayoutInfo);
}