Struct webrender::composite::ExternalPlaneDescriptor
source · pub struct ExternalPlaneDescriptor {
pub texture: TextureSource,
pub uv_rect: TexelRect,
}
Expand description
Information about a plane in a YUV or RGB surface.
Fields§
§texture: TextureSource
§uv_rect: TexelRect
Implementations§
Trait Implementations§
source§impl Clone for ExternalPlaneDescriptor
impl Clone for ExternalPlaneDescriptor
source§fn clone(&self) -> ExternalPlaneDescriptor
fn clone(&self) -> ExternalPlaneDescriptor
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 ExternalPlaneDescriptor
impl Debug for ExternalPlaneDescriptor
source§impl Serialize for ExternalPlaneDescriptor
impl Serialize for ExternalPlaneDescriptor
impl Copy for ExternalPlaneDescriptor
Auto Trait Implementations§
impl Freeze for ExternalPlaneDescriptor
impl RefUnwindSafe for ExternalPlaneDescriptor
impl Send for ExternalPlaneDescriptor
impl Sync for ExternalPlaneDescriptor
impl Unpin for ExternalPlaneDescriptor
impl UnwindSafe for ExternalPlaneDescriptor
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