Struct webrender_api::DisplayItemRef
source · pub struct DisplayItemRef<'a: 'b, 'b> {
iter: &'b BuiltDisplayListIter<'a>,
}
Fields§
§iter: &'b BuiltDisplayListIter<'a>
Implementations§
source§impl<'a, 'b> DisplayItemRef<'a, 'b>
impl<'a, 'b> DisplayItemRef<'a, 'b>
pub fn sub_iter(&self) -> BuiltDisplayListIter<'a>
pub fn item(&self) -> &DisplayItem
pub fn clip_chain_items(&self) -> ItemRange<'_, ClipId>
pub fn points(&self) -> ItemRange<'_, LayoutPoint>
pub fn glyphs(&self) -> ItemRange<'_, GlyphInstance>
pub fn gradient_stops(&self) -> ItemRange<'_, GradientStop>
pub fn filters(&self) -> ItemRange<'_, FilterOp>
pub fn filter_datas(&self) -> &Vec<TempFilterData<'_>>
pub fn filter_primitives(&self) -> ItemRange<'_, FilterPrimitive>
Trait Implementations§
source§impl From<DisplayItemRef<'_, '_>> for CachedDisplayItem
impl From<DisplayItemRef<'_, '_>> for CachedDisplayItem
source§fn from(item_ref: DisplayItemRef<'_, '_>) -> Self
fn from(item_ref: DisplayItemRef<'_, '_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, 'b> Freeze for DisplayItemRef<'a, 'b>
impl<'a, 'b> RefUnwindSafe for DisplayItemRef<'a, 'b>
impl<'a, 'b> Send for DisplayItemRef<'a, 'b>
impl<'a, 'b> Sync for DisplayItemRef<'a, 'b>
impl<'a, 'b> Unpin for DisplayItemRef<'a, 'b>
impl<'a, 'b> UnwindSafe for DisplayItemRef<'a, 'b>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more