[][src]Struct azul_core::display_list::DisplayRectangle

pub struct DisplayRectangle {
    pub tag: Option<TagId>,
    pub style: RectStyle,
    pub layout: RectLayout,
}

DisplayRectangle is the main type which the layout parsing step gets operated on.

Fields

tag: Option<TagId>

Some(id) if this rectangle has a callback attached to it Note: this is not the same as the NodeId! These two are completely separate numbers!

style: RectStyle

The style properties of the node, parsed

layout: RectLayout

The layout properties of the node, parsed

Implementations

impl DisplayRectangle[src]

pub fn new(tag: Option<TagId>) -> Self[src]

Trait Implementations

impl Clone for DisplayRectangle[src]

impl Debug for DisplayRectangle[src]

impl Default for DisplayRectangle[src]

impl Eq for DisplayRectangle[src]

impl Hash for DisplayRectangle[src]

impl Ord for DisplayRectangle[src]

impl PartialEq<DisplayRectangle> for DisplayRectangle[src]

impl PartialOrd<DisplayRectangle> for DisplayRectangle[src]

impl StructuralEq for DisplayRectangle[src]

impl StructuralPartialEq for DisplayRectangle[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.