[][src]Struct azul_core::ui_solver::LayoutedRectangle

pub struct LayoutedRectangle {
    pub size: LayoutSize,
    pub position: PositionInfo,
    pub padding: ResolvedOffsets,
    pub margin: ResolvedOffsets,
    pub border_widths: ResolvedOffsets,
    pub overflow: Overflow,
}

Same as PositionedRectangle, but without the text_layout_options, so that the struct implements Copy.

Fields

size: LayoutSize

Outer bounds of the rectangle

position: PositionInfo

How the rectangle should be positioned

padding: ResolvedOffsets

Padding of the rectangle

margin: ResolvedOffsets

Margin of the rectangle

border_widths: ResolvedOffsets

Border widths of the rectangle

overflow: Overflow

Determines if the rect should be clipped or not (TODO: x / y as separate fields!)

Trait Implementations

impl Clone for LayoutedRectangle[src]

impl Copy for LayoutedRectangle[src]

impl Debug for LayoutedRectangle[src]

impl PartialEq<LayoutedRectangle> for LayoutedRectangle[src]

impl PartialOrd<LayoutedRectangle> for LayoutedRectangle[src]

impl StructuralPartialEq for LayoutedRectangle[src]

Auto Trait Implementations

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.