pub trait FlexLayoutSurface {
// Provided methods
fn flex_direction(&self, direction: FlexDirection) -> &Self { ... }
fn flex_basis(&self, basis: f32) -> &Self { ... }
fn justify_content(&self, justify: JustifyContent) -> &Self { ... }
fn clear_justify_content(&self) -> &Self { ... }
fn align_items(&self, align: AlignItems) -> &Self { ... }
fn clear_align_items(&self) -> &Self { ... }
fn align_self(&self, align: AlignSelf) -> &Self { ... }
fn flex_wrap(&self, wrap: FlexWrap) -> &Self { ... }
}Provided Methods§
fn flex_direction(&self, direction: FlexDirection) -> &Self
fn flex_basis(&self, basis: f32) -> &Self
fn justify_content(&self, justify: JustifyContent) -> &Self
fn clear_justify_content(&self) -> &Self
fn align_items(&self, align: AlignItems) -> &Self
fn clear_align_items(&self) -> &Self
fn align_self(&self, align: AlignSelf) -> &Self
fn flex_wrap(&self, wrap: FlexWrap) -> &Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".