pub enum StackChild {
Component(Arc<dyn Component>),
Entry(StackEntry),
}Expand description
A child that can be either a component or a stack entry.
Variants§
Component(Arc<dyn Component>)
Entry(StackEntry)
Trait Implementations§
Source§impl From<StackEntry> for StackChild
impl From<StackEntry> for StackChild
Source§fn from(entry: StackEntry) -> Self
fn from(entry: StackEntry) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StackChild
impl !UnwindSafe for StackChild
impl Freeze for StackChild
impl Send for StackChild
impl Sync for StackChild
impl Unpin for StackChild
impl UnsafeUnpin for StackChild
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