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
item: T
clip_and_scroll: ClipAndScrollInfo
info: LayoutPrimitiveInfo
Trait Implementations
impl<T: Clone> Clone for GenericDisplayItem<T>[src]
fn clone(&self) -> GenericDisplayItem<T>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<T: PartialEq> PartialEq for GenericDisplayItem<T>[src]
fn eq(&self, __arg_0: &GenericDisplayItem<T>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &GenericDisplayItem<T>) -> bool[src]
This method tests for !=.