Struct webrender_api::GenericDisplayItem [] [src]

pub struct GenericDisplayItem<T> {
    pub item: T,
    pub clip_and_scroll: ClipAndScrollInfo,
    pub info: LayoutPrimitiveInfo,
}

The DI is generic over the specifics, while allows to use the "complete" version of it for convenient serialization.

Fields

Trait Implementations

impl<T: Clone> Clone for GenericDisplayItem<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for GenericDisplayItem<T>
[src]

impl<T: Debug> Debug for GenericDisplayItem<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq> PartialEq for GenericDisplayItem<T>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.