Child

Trait Child 

Source
pub trait Child: RLimits {
    // Required methods
    fn coord(&self) -> (usize, usize);
    fn span(&self) -> (usize, usize);
}

Required Methods§

Source

fn coord(&self) -> (usize, usize)

(Column, Row) coordinate of the item

Source

fn span(&self) -> (usize, usize)

(Column, Row) span of the item, lets items span across multiple rows or columns. Minimum is (1,1), and the layout won’t save you if you tell it to overlap items.

Trait Implementations§

Source§

impl<'a, T: Child + 'static> From<&'a T> for &'a (dyn Child + 'static)

Source§

fn from(value: &'a T) -> Self

Converts to this type from the input type.

Implementors§