Trait origami_engine::Layout

source ·
pub trait Layout<T> {
    // Required methods
    fn extend(&self, s: &mut String, blocks: &T);
    fn extend_with_childrens(
        &self,
        s: &mut String,
        blocks: &T,
        childrens: impl Fn(&mut String),
    );
}

Required Methods§

source

fn extend(&self, s: &mut String, blocks: &T)

source

fn extend_with_childrens( &self, s: &mut String, blocks: &T, childrens: impl Fn(&mut String), )

Object Safety§

This trait is not object safe.

Implementors§