Struct webrender::prim_store::picture::Picture
source · pub struct Picture {
pub composite_mode_key: PictureCompositeKey,
pub raster_space: RasterSpace,
}
Fields§
§composite_mode_key: PictureCompositeKey
§raster_space: RasterSpace
Trait Implementations§
source§impl Internable for Picture
impl Internable for Picture
type Key = PictureKey
type StoreData = PictureTemplate
type InternData = ()
const PROFILE_COUNTER: usize = 96usize
source§impl InternablePrimitive for Picture
impl InternablePrimitive for Picture
source§fn into_key(self, _: &LayoutPrimitiveInfo) -> PictureKey
fn into_key(self, _: &LayoutPrimitiveInfo) -> PictureKey
Build a new key from self with
info
.fn make_instance_kind( _key: PictureKey, _: Handle<Picture>, _: &mut PrimitiveStore, ) -> PrimitiveInstanceKind
source§impl MallocSizeOf for Picture
impl MallocSizeOf for Picture
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq for Picture
impl PartialEq for Picture
impl Eq for Picture
impl StructuralPartialEq for Picture
Auto Trait Implementations§
impl Freeze for Picture
impl RefUnwindSafe for Picture
impl Send for Picture
impl Sync for Picture
impl Unpin for Picture
impl UnwindSafe for Picture
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more