pub struct EncoderSurfaceDescriptor {
pub backend: HardwareEncodeBackend,
pub pool_generation: u64,
pub layout: EncoderInputLayout,
pub visible: (u32, u32),
pub color: ColorMetadata,
}Expand description
What one encoder-input surface is, independent of its backing.
Fields§
§backend: HardwareEncodeBackendThe backend whose pool allocated it.
pool_generation: u64The session’s pool; see HardwareEncodeInput::acquire_surface.
layout: EncoderInputLayoutIts pixel layout.
visible: (u32, u32)The picture’s size.
color: ColorMetadataThe color its pixels are encoded in.
Trait Implementations§
Source§impl Clone for EncoderSurfaceDescriptor
impl Clone for EncoderSurfaceDescriptor
impl Copy for EncoderSurfaceDescriptor
Source§impl Debug for EncoderSurfaceDescriptor
impl Debug for EncoderSurfaceDescriptor
impl Eq for EncoderSurfaceDescriptor
Source§impl PartialEq for EncoderSurfaceDescriptor
impl PartialEq for EncoderSurfaceDescriptor
impl StructuralPartialEq for EncoderSurfaceDescriptor
Auto Trait Implementations§
impl Freeze for EncoderSurfaceDescriptor
impl RefUnwindSafe for EncoderSurfaceDescriptor
impl Send for EncoderSurfaceDescriptor
impl Sync for EncoderSurfaceDescriptor
impl Unpin for EncoderSurfaceDescriptor
impl UnsafeUnpin for EncoderSurfaceDescriptor
impl UnwindSafe for EncoderSurfaceDescriptor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.