Enum oxygengine_user_interface::widget::node::WidgetNode [−][src]
pub enum WidgetNode {
None,
Component(WidgetComponent),
Unit(WidgetUnitNode),
Tuple(Vec<WidgetNode, Global>),
}
Variants
Component(WidgetComponent)
Tuple Fields of Component
Unit(WidgetUnitNode)
Tuple Fields of Unit
Tuple(Vec<WidgetNode, Global>)
Tuple Fields of Tuple
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<WidgetUnit, <WidgetUnit as TryFrom<WidgetNode>>::Error>
pub fn try_from(
node: WidgetNode
) -> Result<WidgetUnit, <WidgetUnit 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<WidgetUnitNode, <WidgetUnitNode as TryFrom<WidgetNode>>::Error>
pub fn try_from(
node: WidgetNode
) -> Result<WidgetUnitNode, <WidgetUnitNode 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