[−][src]Struct azul_webrender_api::BuiltDisplayListIter
Implementations
impl<'a> BuiltDisplayListIter<'a>[src]
pub fn new(
list: &'a BuiltDisplayList,
data: &'a [u8],
cache: Option<&'a DisplayItemCache>
) -> Self[src]
list: &'a BuiltDisplayList,
data: &'a [u8],
cache: Option<&'a DisplayItemCache>
) -> Self
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
impl<'a> RefUnwindSafe for BuiltDisplayListIter<'a>
impl<'a> Send for BuiltDisplayListIter<'a>
impl<'a> Sync for BuiltDisplayListIter<'a>
impl<'a> Unpin for BuiltDisplayListIter<'a>
impl<'a> UnwindSafe for BuiltDisplayListIter<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,