pub enum PortalBoxSlotNode {
Slot(WidgetNode),
ContentItem(ContentBoxItemNode),
FlexItem(FlexBoxItemNode),
GridItem(GridBoxItemNode),
}
Variants§
Slot(WidgetNode)
ContentItem(ContentBoxItemNode)
FlexItem(FlexBoxItemNode)
GridItem(GridBoxItemNode)
Trait Implementations§
Source§impl Clone for PortalBoxSlotNode
impl Clone for PortalBoxSlotNode
Source§fn clone(&self) -> PortalBoxSlotNode
fn clone(&self) -> PortalBoxSlotNode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PortalBoxSlotNode
impl Debug for PortalBoxSlotNode
Source§impl Default for PortalBoxSlotNode
impl Default for PortalBoxSlotNode
Source§fn default() -> PortalBoxSlotNode
fn default() -> PortalBoxSlotNode
Returns the “default value” for a type. Read more
Source§impl TryFrom<PortalBoxSlotNode> for PortalBoxSlot
impl TryFrom<PortalBoxSlotNode> for PortalBoxSlot
Source§fn try_from(
node: PortalBoxSlotNode,
) -> Result<PortalBoxSlot, <PortalBoxSlot as TryFrom<PortalBoxSlotNode>>::Error>
fn try_from( node: PortalBoxSlotNode, ) -> Result<PortalBoxSlot, <PortalBoxSlot as TryFrom<PortalBoxSlotNode>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PortalBoxSlotNode
impl !RefUnwindSafe for PortalBoxSlotNode
impl Send for PortalBoxSlotNode
impl Sync for PortalBoxSlotNode
impl Unpin for PortalBoxSlotNode
impl !UnwindSafe for PortalBoxSlotNode
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