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)
PortalBox(PortalBoxNode)
ContentBox(ContentBoxNode)
FlexBox(FlexBoxNode)
GridBox(GridBoxNode)
SizeBox(SizeBoxNode)
ImageBox(ImageBoxNode)
TextBox(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>
[src]
pub fn try_from(
node: WidgetNode
) -> Result<WidgetUnitNode, <WidgetUnitNode as TryFrom<WidgetNode>>::Error>
[src]Performs the conversion.
pub fn try_from(
node: WidgetUnitNode
) -> Result<WidgetUnit, <WidgetUnit as TryFrom<WidgetUnitNode>>::Error>
[src]
pub fn try_from(
node: WidgetUnitNode
) -> Result<WidgetUnit, <WidgetUnit as TryFrom<WidgetUnitNode>>::Error>
[src]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
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
pub fn get_type_id(&self) -> TypeId
Mutably borrows from an owned value. Read more
impl<T> TryDefault for T where
T: Default,
impl<T> TryDefault for T where
T: Default,
pub fn try_default() -> Result<T, String>
pub fn try_default() -> Result<T, String>
Tries to create the default.
fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls try_default
and panics on an error case.