pub struct SegmentNodeInfo {
pub id: u64,
pub name: &'static str,
pub depth: usize,
pub rect: Rect,
}Expand description
A node emitted by Segment::walk: one mounted component, with its pre-order id, widget name,
nesting depth, and the bounding rect of its own draw commands unioned with all descendants’.
Fields§
§id: u64§name: &'static str§depth: usize§rect: RectTrait Implementations§
Source§impl Clone for SegmentNodeInfo
impl Clone for SegmentNodeInfo
Source§fn clone(&self) -> SegmentNodeInfo
fn clone(&self) -> SegmentNodeInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SegmentNodeInfo
impl RefUnwindSafe for SegmentNodeInfo
impl Send for SegmentNodeInfo
impl Sync for SegmentNodeInfo
impl Unpin for SegmentNodeInfo
impl UnsafeUnpin for SegmentNodeInfo
impl UnwindSafe for SegmentNodeInfo
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