Enum oxygengine_user_interface::widget::node::WidgetNode [−][src]
pub enum WidgetNode {
None,
Component(WidgetComponent),
Unit(WidgetUnitNode),
Tuple(Vec<WidgetNode, Global>),
}
Variants
None
Component(WidgetComponent)
Tuple Fields
Unit(WidgetUnitNode)
Tuple Fields
Tuple(Vec<WidgetNode, Global>)
Tuple Fields
0: Vec<WidgetNode, Global>
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.
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: WidgetNode
) -> Result<WidgetComponent, <WidgetComponent as TryFrom<WidgetNode>>::Error>
pub fn try_from(
node: WidgetNode
) -> Result<WidgetComponent, <WidgetComponent as TryFrom<WidgetNode>>::Error>
Performs the conversion.
pub fn try_from(
node: WidgetNode
) -> Result<WidgetUnit, <WidgetUnit as TryFrom<WidgetNode>>::Error>
pub fn try_from(
node: WidgetNode
) -> Result<WidgetUnit, <WidgetUnit as TryFrom<WidgetNode>>::Error>
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for WidgetNode
impl Send for WidgetNode
impl Sync for WidgetNode
impl Unpin for WidgetNode
impl !UnwindSafe for WidgetNode
Blanket Implementations
Mutably borrows from an owned value. Read more