pub struct LayoutRender {
pub name: Option<String>,
pub path: Vec<usize>,
pub region: Region,
pub render: Vec<Vec<Segment>>,
}Expand description
One leaf of a render. Mirrors upstream’s LayoutRender, keyed by the
layout’s name and its path (child indexes from the root, counting
hidden children) since the port has no object identity to key by.
Fields§
§name: Option<String>The leaf’s name, if it has one.
path: Vec<usize>Child indexes from the root layout to the leaf.
region: RegionWhere the leaf was drawn.
render: Vec<Vec<Segment>>Its rendered lines.
Trait Implementations§
Source§impl Clone for LayoutRender
impl Clone for LayoutRender
Source§impl Debug for LayoutRender
impl Debug for LayoutRender
Source§impl PartialEq for LayoutRender
impl PartialEq for LayoutRender
impl StructuralPartialEq for LayoutRender
Auto Trait Implementations§
impl Freeze for LayoutRender
impl RefUnwindSafe for LayoutRender
impl Send for LayoutRender
impl Sync for LayoutRender
impl Unpin for LayoutRender
impl UnsafeUnpin for LayoutRender
impl UnwindSafe for LayoutRender
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