Struct titik::FlexBox[][src]

pub struct FlexBox<MSG> { /* fields omitted */ }

a flex box

Implementations

impl<MSG> FlexBox<MSG>[src]

pub fn new() -> Self[src]

create a new flexbox

pub fn clear_children(&mut self)[src]

remove all children of this flex_box

pub fn vertical(&mut self)[src]

set to vertical column direction

pub fn horizontal(&mut self)[src]

set to horizontal row direction

pub fn set_scroll_top(&mut self, scroll_top: f32)[src]

scroll the flexbox

pub fn set_expand_width(&mut self, is_expand_width: bool)[src]

set if to expand the width or not

pub fn set_expand_height(&mut self, is_expand_height: bool)[src]

set whether to expand the height or not

pub fn set_border(&mut self, has_border: bool)[src]

pub fn set_thick_border(&mut self, use_thick_border: bool)[src]

pub fn set_rounded(&mut self, use_rounded_border: bool)[src]

Trait Implementations

impl<MSG: Debug> Debug for FlexBox<MSG>[src]

impl<MSG: Default> Default for FlexBox<MSG>[src]

impl<MSG> Widget<MSG> for FlexBox<MSG> where
    MSG: Debug + 'static, 
[src]

Auto Trait Implementations

impl<MSG> !RefUnwindSafe for FlexBox<MSG>

impl<MSG> !Send for FlexBox<MSG>

impl<MSG> !Sync for FlexBox<MSG>

impl<MSG> Unpin for FlexBox<MSG>

impl<MSG> !UnwindSafe for FlexBox<MSG>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.