pub struct NewChild {
pub item: String,
pub weight: u32,
}Expand description
A child to hang under a node: what it is, and how big a slice of its parent it takes.
Fields§
§item: String§weight: u32Trait Implementations§
impl Eq for NewChild
impl StructuralPartialEq for NewChild
Auto Trait Implementations§
impl Freeze for NewChild
impl RefUnwindSafe for NewChild
impl Send for NewChild
impl Sync for NewChild
impl Unpin for NewChild
impl UnsafeUnpin for NewChild
impl UnwindSafe for NewChild
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