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: ImageRenderingTrait Implementations§
Source§impl From<YuvImage> for YuvImageData
impl From<YuvImage> for YuvImageData
Source§impl Internable for YuvImage
impl Internable for YuvImage
const PROFILE_COUNTER: usize = 91usize
type Key = PrimKey<YuvImage>
type StoreData = PrimTemplate<YuvImageData>
type InternData = ()
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.
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> 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