Enum oxygengine_user_interface::widget::unit::WidgetUnitNode [−][src]
pub enum WidgetUnitNode {
None,
AreaBox(AreaBoxNode),
PortalBox(PortalBoxNode),
ContentBox(ContentBoxNode),
FlexBox(FlexBoxNode),
GridBox(GridBoxNode),
SizeBox(SizeBoxNode),
ImageBox(ImageBoxNode),
TextBox(TextBoxNode),
}
Variants
AreaBox(AreaBoxNode)
Tuple Fields of AreaBox
0: AreaBoxNode
PortalBox(PortalBoxNode)
Tuple Fields of PortalBox
ContentBox(ContentBoxNode)
Tuple Fields of ContentBox
FlexBox(FlexBoxNode)
Tuple Fields of FlexBox
0: FlexBoxNode
GridBox(GridBoxNode)
Tuple Fields of GridBox
0: GridBoxNode
SizeBox(SizeBoxNode)
Tuple Fields of SizeBox
0: SizeBoxNode
ImageBox(ImageBoxNode)
Tuple Fields of ImageBox
0: ImageBoxNode
TextBox(TextBoxNode)
Tuple Fields of TextBox
0: TextBoxNode
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
pub fn try_from(
node: WidgetNode
) -> Result<WidgetUnitNode, <WidgetUnitNode as TryFrom<WidgetNode>>::Error>
pub fn try_from(
node: WidgetNode
) -> Result<WidgetUnitNode, <WidgetUnitNode as TryFrom<WidgetNode>>::Error>
Performs the conversion.
pub fn try_from(
node: WidgetUnitNode
) -> Result<WidgetUnit, <WidgetUnit as TryFrom<WidgetUnitNode>>::Error>
pub fn try_from(
node: WidgetUnitNode
) -> Result<WidgetUnit, <WidgetUnit as TryFrom<WidgetUnitNode>>::Error>
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for WidgetUnitNode
impl Send for WidgetUnitNode
impl Sync for WidgetUnitNode
impl Unpin for WidgetUnitNode
impl !UnwindSafe for WidgetUnitNode
Blanket Implementations
Mutably borrows from an owned value. Read more