Struct oxygengine_user_interface::widget::unit::flex::FlexBoxItemNode [−][src]
pub struct FlexBoxItemNode { pub slot: WidgetNode, pub layout: FlexBoxItemLayout, }
Fields
slot: WidgetNode
layout: FlexBoxItemLayout
Trait Implementations
Returns the “default value” for a type. Read more
pub fn try_from(
node: FlexBoxItemNode
) -> Result<FlexBoxItem, <FlexBoxItem as TryFrom<FlexBoxItemNode>>::Error>
[src]
pub fn try_from(
node: FlexBoxItemNode
) -> Result<FlexBoxItem, <FlexBoxItem as TryFrom<FlexBoxItemNode>>::Error>
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for FlexBoxItemNode
impl Send for FlexBoxItemNode
impl Sync for FlexBoxItemNode
impl Unpin for FlexBoxItemNode
impl !UnwindSafe for FlexBoxItemNode
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.