pub struct PixelFormatAndModifier<T0, T1> {
pub pixel_format: T0,
pub pixel_format_modifier: T1,
}Expand description
The generic type corresponding to PixelFormatAndModifier.
Fields§
§pixel_format: T0§pixel_format_modifier: T1Trait Implementations§
Source§impl<___E, T0, T1> Encode<PixelFormatAndModifier, ___E> for PixelFormatAndModifier<T0, T1>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<PixelFormat, ___E>,
T1: Encode<PixelFormatModifier, ___E>,
impl<___E, T0, T1> Encode<PixelFormatAndModifier, ___E> for PixelFormatAndModifier<T0, T1>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<PixelFormat, ___E>,
T1: Encode<PixelFormatModifier, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<PixelFormatAndModifier>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<PixelFormatAndModifier>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Auto Trait Implementations§
impl<T0, T1> Freeze for PixelFormatAndModifier<T0, T1>
impl<T0, T1> RefUnwindSafe for PixelFormatAndModifier<T0, T1>where
T0: RefUnwindSafe,
T1: RefUnwindSafe,
impl<T0, T1> Send for PixelFormatAndModifier<T0, T1>
impl<T0, T1> Sync for PixelFormatAndModifier<T0, T1>
impl<T0, T1> Unpin for PixelFormatAndModifier<T0, T1>
impl<T0, T1> UnsafeUnpin for PixelFormatAndModifier<T0, T1>where
T0: UnsafeUnpin,
T1: UnsafeUnpin,
impl<T0, T1> UnwindSafe for PixelFormatAndModifier<T0, T1>where
T0: UnwindSafe,
T1: UnwindSafe,
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<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]