pub struct FlexBoxNode {
pub id: WidgetId,
pub props: Props,
pub items: Vec<FlexBoxItemNode>,
pub direction: FlexBoxDirection,
pub separation: Scalar,
pub wrap: bool,
pub transform: Transform,
}
Fields§
§id: WidgetId
§props: Props
§items: Vec<FlexBoxItemNode>
§direction: FlexBoxDirection
§separation: Scalar
§wrap: bool
§transform: Transform
Implementations§
source§impl FlexBoxNode
impl FlexBoxNode
pub fn remap_props<F>(&mut self, f: F)
Trait Implementations§
source§impl Clone for FlexBoxNode
impl Clone for FlexBoxNode
source§fn clone(&self) -> FlexBoxNode
fn clone(&self) -> FlexBoxNode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FlexBoxNode
impl Debug for FlexBoxNode
source§impl Default for FlexBoxNode
impl Default for FlexBoxNode
source§fn default() -> FlexBoxNode
fn default() -> FlexBoxNode
Returns the “default value” for a type. Read more
source§impl From<FlexBoxNode> for WidgetNode
impl From<FlexBoxNode> for WidgetNode
source§fn from(data: FlexBoxNode) -> Self
fn from(data: FlexBoxNode) -> Self
Converts to this type from the input type.
source§impl From<FlexBoxNode> for WidgetUnitNode
impl From<FlexBoxNode> for WidgetUnitNode
source§fn from(unit: FlexBoxNode) -> Self
fn from(unit: FlexBoxNode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FlexBoxNode
impl !RefUnwindSafe for FlexBoxNode
impl Send for FlexBoxNode
impl Sync for FlexBoxNode
impl Unpin for FlexBoxNode
impl !UnwindSafe for FlexBoxNode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)