pub struct Node<Message> {
pub id: usize,
pub rect: Rect,
pub measured_height: u16,
pub element: Element<Message>,
pub children: Vec<Node<Message>>,
}Fields§
§id: usize§rect: Rect§measured_height: u16§element: Element<Message>§children: Vec<Node<Message>>Implementations§
Source§impl<Message> Node<Message>
impl<Message> Node<Message>
pub fn child_layout_spec(&self, bounds: Rect) -> ChildLayoutSpec
Trait Implementations§
Auto Trait Implementations§
impl<Message> Freeze for Node<Message>
impl<Message> !RefUnwindSafe for Node<Message>
impl<Message> !Send for Node<Message>
impl<Message> !Sync for Node<Message>
impl<Message> Unpin for Node<Message>
impl<Message> UnsafeUnpin for Node<Message>
impl<Message> !UnwindSafe for Node<Message>
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