[][src]Struct azul_webrender_api::BuiltDisplayListIter

pub struct BuiltDisplayListIter<'a> { /* fields omitted */ }

Implementations

impl<'a> BuiltDisplayListIter<'a>[src]

pub fn new(
    list: &'a BuiltDisplayList,
    data: &'a [u8],
    cache: Option<&'a DisplayItemCache>
) -> Self
[src]

pub fn sub_iter(&self) -> Self[src]

pub fn display_list(&self) -> &'a BuiltDisplayList[src]

pub fn current_item(&self) -> &DisplayItem[src]

pub fn glyphs(&self) -> ItemRange<GlyphInstance>[src]

pub fn gradient_stops(&self) -> ItemRange<GradientStop>[src]

pub fn next<'b>(&'b mut self) -> Option<DisplayItemRef<'a, 'b>>[src]

pub fn next_raw<'b>(&'b mut self) -> Option<DisplayItemRef<'a, 'b>>[src]

Gets the next display item, even if it's a dummy. Also doesn't handle peeking and may leave irrelevant ranges live (so a Clip may have GradientStops if for some reason you ask).

pub fn as_ref<'b>(&'b self) -> DisplayItemRef<'a, 'b>[src]

pub fn skip_current_stacking_context(&mut self)[src]

pub fn current_stacking_context_empty(&mut self) -> bool[src]

pub fn peek<'b>(&'b mut self) -> Option<DisplayItemRef<'a, 'b>>[src]

pub fn debug_stats(&mut self) -> Vec<(&'static str, ItemStats)>[src]

Get the debug stats for what this iterator has deserialized. Should always be empty in release builds.

pub fn merge_debug_stats_from(&mut self, other: &mut Self)[src]

Adds the debug stats from another to our own, assuming we are a sub-iter of the other (so we can ignore where they were in the traversal).

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