pub enum Layout {
Null,
Text(String),
Fix(Box<Layout>),
Grp(Box<Layout>),
Seq(Box<Layout>),
Nest(Box<Layout>),
Pack(Box<Layout>),
Line(Box<Layout>, Box<Layout>),
Comp(Box<Layout>, Box<Layout>, Attr),
}Expand description
Layout AST - the input language for the compiler
Variants§
Null
Text(String)
Fix(Box<Layout>)
Grp(Box<Layout>)
Seq(Box<Layout>)
Nest(Box<Layout>)
Pack(Box<Layout>)
Line(Box<Layout>, Box<Layout>)
Comp(Box<Layout>, Box<Layout>, Attr)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more