pub struct Outline {
pub title: String,
pub action: Option<Action>,
pub open: bool,
pub children: Vec<Outline>,
}Expand description
an item of the outline, with its children
Fields§
§title: String§action: Option<Action>§open: boolits children are shown
children: Vec<Outline>Trait Implementations§
impl StructuralPartialEq for Outline
Auto Trait Implementations§
impl Forget for Outline
impl Freeze for Outline
impl Move for Outline
impl RefUnwindSafe for Outline
impl Send for Outlinewhere
RawVecInner: Send,
impl Sync for Outlinewhere
RawVecInner: Sync,
impl Unpin for Outline
impl UnsafeUnpin for Outlinewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Outline>: UnsafeUnpin,
impl UnwindSafe for Outlinewhere
RawVecInner: UnwindSafe,
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