pub struct LayoutEntry {
pub node_id: NodeId,
pub rect: LayoutRect,
pub depth: u16,
}Expand description
A laid-out treemap entry: pairs a file tree NodeId with its screen rectangle.
Fields§
§node_id: NodeId§rect: LayoutRect§depth: u16Depth relative to the visible root (0 = visible root).
Trait Implementations§
Source§impl Clone for LayoutEntry
impl Clone for LayoutEntry
Source§fn clone(&self) -> LayoutEntry
fn clone(&self) -> LayoutEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LayoutEntry
impl RefUnwindSafe for LayoutEntry
impl Send for LayoutEntry
impl Sync for LayoutEntry
impl Unpin for LayoutEntry
impl UnsafeUnpin for LayoutEntry
impl UnwindSafe for LayoutEntry
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