Struct webrender::prim_store::image::YuvImage
source · pub struct YuvImage {
pub color_depth: ColorDepth,
pub yuv_key: [ImageKey; 3],
pub format: YuvFormat,
pub color_space: YuvColorSpace,
pub color_range: ColorRange,
pub image_rendering: ImageRendering,
}
Fields§
§color_depth: ColorDepth
§yuv_key: [ImageKey; 3]
§format: YuvFormat
§color_space: YuvColorSpace
§color_range: ColorRange
§image_rendering: ImageRendering
Trait Implementations§
source§impl From<YuvImage> for YuvImageData
impl From<YuvImage> for YuvImageData
source§impl Internable for YuvImage
impl Internable for YuvImage
type Key = PrimKey<YuvImage>
type StoreData = PrimTemplate<YuvImageData>
type InternData = ()
const PROFILE_COUNTER: usize = 91usize
source§impl InternablePrimitive for YuvImage
impl InternablePrimitive for YuvImage
source§fn into_key(self, info: &LayoutPrimitiveInfo) -> PrimKey<YuvImage>
fn into_key(self, info: &LayoutPrimitiveInfo) -> PrimKey<YuvImage>
Build a new key from self with
info
.fn make_instance_kind( _key: PrimKey<YuvImage>, data_handle: Handle<YuvImage>, _prim_store: &mut PrimitiveStore, ) -> PrimitiveInstanceKind
source§impl MallocSizeOf for YuvImage
impl MallocSizeOf for YuvImage
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 YuvImage
impl PartialEq for YuvImage
impl Eq for YuvImage
impl StructuralPartialEq for YuvImage
Auto Trait Implementations§
impl Freeze for YuvImage
impl RefUnwindSafe for YuvImage
impl Send for YuvImage
impl Sync for YuvImage
impl Unpin for YuvImage
impl UnwindSafe for YuvImage
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