Trait Child

Source
pub trait Child:
    Margin
    + RLimits
    + Order {
    // Required methods
    fn grow(&self) -> f32;
    fn shrink(&self) -> f32;
    fn basis(&self) -> DValue;
}

Required Methods§

Source

fn grow(&self) -> f32

Source

fn shrink(&self) -> f32

Source

fn basis(&self) -> DValue

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§