pub struct Picture {
pub composite_mode_key: PictureCompositeKey,
pub raster_space: RasterSpace,
}Fields§
§composite_mode_key: PictureCompositeKey§raster_space: RasterSpaceTrait Implementations§
Source§impl Internable for Picture
impl Internable for Picture
const PROFILE_COUNTER: usize = 96usize
type Key = PictureKey
type StoreData = PictureTemplate
type InternData = ()
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.
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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