pub enum WidgetUnitNode {
None,
AreaBox(AreaBoxNode),
PortalBox(PortalBoxNode),
ContentBox(ContentBoxNode),
FlexBox(FlexBoxNode),
GridBox(GridBoxNode),
SizeBox(SizeBoxNode),
ImageBox(ImageBoxNode),
TextBox(TextBoxNode),
}
Variants§
None
AreaBox(AreaBoxNode)
PortalBox(PortalBoxNode)
ContentBox(ContentBoxNode)
FlexBox(FlexBoxNode)
GridBox(GridBoxNode)
SizeBox(SizeBoxNode)
ImageBox(ImageBoxNode)
TextBox(TextBoxNode)
Implementations§
Trait Implementations§
source§impl Clone for WidgetUnitNode
impl Clone for WidgetUnitNode
source§fn clone(&self) -> WidgetUnitNode
fn clone(&self) -> WidgetUnitNode
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 WidgetUnitNode
impl Debug for WidgetUnitNode
source§impl Default for WidgetUnitNode
impl Default for WidgetUnitNode
source§fn default() -> WidgetUnitNode
fn default() -> WidgetUnitNode
Returns the “default value” for a type. Read more
source§impl From<()> for WidgetUnitNode
impl From<()> for WidgetUnitNode
source§impl From<AreaBoxNode> for WidgetUnitNode
impl From<AreaBoxNode> for WidgetUnitNode
source§fn from(unit: AreaBoxNode) -> Self
fn from(unit: AreaBoxNode) -> Self
Converts to this type from the input type.
source§impl From<ContentBoxNode> for WidgetUnitNode
impl From<ContentBoxNode> for WidgetUnitNode
source§fn from(unit: ContentBoxNode) -> Self
fn from(unit: ContentBoxNode) -> Self
Converts to this type from the input type.
source§impl From<FlexBoxNode> for WidgetUnitNode
impl From<FlexBoxNode> for WidgetUnitNode
source§fn from(unit: FlexBoxNode) -> Self
fn from(unit: FlexBoxNode) -> Self
Converts to this type from the input type.
source§impl From<GridBoxNode> for WidgetUnitNode
impl From<GridBoxNode> for WidgetUnitNode
source§fn from(unit: GridBoxNode) -> Self
fn from(unit: GridBoxNode) -> Self
Converts to this type from the input type.
source§impl From<ImageBoxNode> for WidgetUnitNode
impl From<ImageBoxNode> for WidgetUnitNode
source§fn from(unit: ImageBoxNode) -> Self
fn from(unit: ImageBoxNode) -> Self
Converts to this type from the input type.
source§impl From<PortalBoxNode> for WidgetUnitNode
impl From<PortalBoxNode> for WidgetUnitNode
source§fn from(unit: PortalBoxNode) -> Self
fn from(unit: PortalBoxNode) -> Self
Converts to this type from the input type.
source§impl From<SizeBoxNode> for WidgetUnitNode
impl From<SizeBoxNode> for WidgetUnitNode
source§fn from(unit: SizeBoxNode) -> Self
fn from(unit: SizeBoxNode) -> Self
Converts to this type from the input type.
source§impl From<TextBoxNode> for WidgetUnitNode
impl From<TextBoxNode> for WidgetUnitNode
source§fn from(unit: TextBoxNode) -> Self
fn from(unit: TextBoxNode) -> Self
Converts to this type from the input type.
source§impl From<WidgetUnitNode> for Box<WidgetNode>
impl From<WidgetUnitNode> for Box<WidgetNode>
source§fn from(unit: WidgetUnitNode) -> Self
fn from(unit: WidgetUnitNode) -> Self
Converts to this type from the input type.
source§impl From<WidgetUnitNode> for WidgetNode
impl From<WidgetUnitNode> for WidgetNode
source§fn from(unit: WidgetUnitNode) -> Self
fn from(unit: WidgetUnitNode) -> Self
Converts to this type from the input type.
source§impl TryFrom<WidgetNode> for WidgetUnitNode
impl TryFrom<WidgetNode> for WidgetUnitNode
source§impl TryFrom<WidgetUnitNode> for WidgetUnit
impl TryFrom<WidgetUnitNode> for WidgetUnit
Auto Trait Implementations§
impl Freeze for WidgetUnitNode
impl !RefUnwindSafe for WidgetUnitNode
impl Send for WidgetUnitNode
impl Sync for WidgetUnitNode
impl Unpin for WidgetUnitNode
impl !UnwindSafe for WidgetUnitNode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)