[][src]Struct makepad_render::Layout

pub struct Layout {
    pub padding: Padding,
    pub align: Align,
    pub direction: Direction,
    pub line_wrap: LineWrap,
    pub new_line_padding: f32,
    pub abs_origin: Option<Vec2>,
    pub abs_size: Option<Vec2>,
    pub walk: Walk,
}

Fields

padding: Paddingalign: Aligndirection: Directionline_wrap: LineWrapnew_line_padding: f32abs_origin: Option<Vec2>abs_size: Option<Vec2>walk: Walk

Methods

impl Layout[src]

pub fn abs_origin_zero() -> Self[src]

Trait Implementations

impl Clone for Layout[src]

impl Copy for Layout[src]

impl Default for Layout[src]

impl Debug for Layout[src]

Auto Trait Implementations

impl Send for Layout

impl Sync for Layout

impl Unpin for Layout

impl UnwindSafe for Layout

impl RefUnwindSafe for Layout

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = !

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.

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

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

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