pub trait GridFns: AsComponent + Child + ComponentPtr + Parent {
fn add_to_form<'a>(
&'a mut self,
form: &mut Form<'a>
) -> Result<(), &'static str> { ... }
fn get_size(&self) -> (i32, i32) { ... }
fn place(&self, left: i32, top: i32) { ... }
}
Expand description
Implements functions shared by Grid
s.