Skip to main content

FlexLayoutSurface

Trait FlexLayoutSurface 

Source
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§

Source

fn flex_direction(&self, direction: FlexDirection) -> &Self

Source

fn flex_basis(&self, basis: f32) -> &Self

Source

fn justify_content(&self, justify: JustifyContent) -> &Self

Source

fn clear_justify_content(&self) -> &Self

Source

fn align_items(&self, align: AlignItems) -> &Self

Source

fn clear_align_items(&self) -> &Self

Source

fn align_self(&self, align: AlignSelf) -> &Self

Source

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".

Implementors§