pub struct Layout {
pub width: usize,
pub read_widths: Vec<usize>,
pub sites: Vec<Site>,
}Expand description
What the engine already knows from typing: how wide the node is, how wide each collapsed read is, and which call sites the renderer opens.
Fields§
§width: usize§read_widths: Vec<usize>§sites: Vec<Site>Trait Implementations§
impl StructuralPartialEq for Layout
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