Struct oxygengine_user_interface::widget::unit::flex::FlexBoxNode [−][src]
pub struct FlexBoxNode { pub id: WidgetId, pub props: Props, pub items: Vec<FlexBoxItemNode, Global>, pub direction: FlexBoxDirection, pub separation: f32, pub wrap: bool, pub transform: Transform, }
Fields
id: WidgetId
props: Props
items: Vec<FlexBoxItemNode, Global>
direction: FlexBoxDirection
separation: f32
wrap: bool
transform: Transform
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for FlexBoxNode
impl Send for FlexBoxNode
impl Sync for FlexBoxNode
impl Unpin for FlexBoxNode
impl !UnwindSafe for FlexBoxNode
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.