Struct webrender_api::display_item::YuvImageDisplayItem
source · pub struct YuvImageDisplayItem {
pub common: CommonItemProperties,
pub bounds: LayoutRect,
pub yuv_data: YuvData,
pub color_depth: ColorDepth,
pub color_space: YuvColorSpace,
pub color_range: ColorRange,
pub image_rendering: ImageRendering,
}
Fields§
§common: CommonItemProperties
§bounds: LayoutRect
§yuv_data: YuvData
§color_depth: ColorDepth
§color_space: YuvColorSpace
§color_range: ColorRange
§image_rendering: ImageRendering
Trait Implementations§
source§impl Clone for YuvImageDisplayItem
impl Clone for YuvImageDisplayItem
source§fn clone(&self) -> YuvImageDisplayItem
fn clone(&self) -> YuvImageDisplayItem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for YuvImageDisplayItem
impl Debug for YuvImageDisplayItem
source§impl Default for YuvImageDisplayItem
impl Default for YuvImageDisplayItem
source§fn default() -> YuvImageDisplayItem
fn default() -> YuvImageDisplayItem
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for YuvImageDisplayItem
impl<'de> Deserialize<'de> for YuvImageDisplayItem
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for YuvImageDisplayItem
impl PartialEq for YuvImageDisplayItem
source§fn eq(&self, other: &YuvImageDisplayItem) -> bool
fn eq(&self, other: &YuvImageDisplayItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for YuvImageDisplayItem
impl Peek for YuvImageDisplayItem
source§impl Poke for YuvImageDisplayItem
impl Poke for YuvImageDisplayItem
source§impl Serialize for YuvImageDisplayItem
impl Serialize for YuvImageDisplayItem
impl Copy for YuvImageDisplayItem
impl StructuralPartialEq for YuvImageDisplayItem
Auto Trait Implementations§
impl Freeze for YuvImageDisplayItem
impl RefUnwindSafe for YuvImageDisplayItem
impl Send for YuvImageDisplayItem
impl Sync for YuvImageDisplayItem
impl Unpin for YuvImageDisplayItem
impl UnwindSafe for YuvImageDisplayItem
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