pub struct LayoutFrame {
pub root: LayoutBox,
pub width: usize,
pub height: usize,
pub lines: Vec<String>,
pub primary_scroll_view: Option<Arc<ScrollView>>,
}Expand description
A complete layout frame for rendering.
Fields§
§root: LayoutBoxRoot box.
width: usizeTotal width.
height: usizeTotal height.
lines: Vec<String>Rendered screen lines.
primary_scroll_view: Option<Arc<ScrollView>>Primary scroll view (if any).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LayoutFrame
impl !UnwindSafe for LayoutFrame
impl Freeze for LayoutFrame
impl Send for LayoutFrame
impl Sync for LayoutFrame
impl Unpin for LayoutFrame
impl UnsafeUnpin for LayoutFrame
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