[][src]Struct polyhorn_yoga::types::Layout

pub struct Layout { /* fields omitted */ }

Implementations

impl Layout[src]

pub fn new(
    left: f32,
    right: f32,
    top: f32,
    bottom: f32,
    width: f32,
    height: f32
) -> Layout
[src]

pub fn left(&self) -> f32[src]

pub fn right(&self) -> f32[src]

pub fn top(&self) -> f32[src]

pub fn bottom(&self) -> f32[src]

pub fn width(&self) -> f32[src]

pub fn height(&self) -> f32[src]

Trait Implementations

impl Clone for Layout[src]

impl Copy for Layout[src]

impl Debug for Layout[src]

impl Eq for Layout[src]

impl Hash for Layout[src]

impl Ord for Layout[src]

impl PartialEq<Layout> for Layout[src]

impl PartialOrd<Layout> for Layout[src]

impl StructuralEq for Layout[src]

impl StructuralPartialEq for Layout[src]

Auto Trait Implementations

impl RefUnwindSafe for Layout

impl Send for Layout

impl Sync for Layout

impl Unpin for Layout

impl UnwindSafe for Layout

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