pub enum TextureViewDescriptorExtension {
TextureComponentSwizzleDescriptor(TextureComponentSwizzleDescriptor),
YCbCrVkDescriptor(YCbCrVkDescriptor),
}Variants§
TextureComponentSwizzleDescriptor(TextureComponentSwizzleDescriptor)
YCbCrVkDescriptor(YCbCrVkDescriptor)
Trait Implementations§
Source§impl From<TextureComponentSwizzleDescriptor> for TextureViewDescriptorExtension
impl From<TextureComponentSwizzleDescriptor> for TextureViewDescriptorExtension
Source§fn from(ext: TextureComponentSwizzleDescriptor) -> Self
fn from(ext: TextureComponentSwizzleDescriptor) -> Self
Converts to this type from the input type.
Source§impl From<YCbCrVkDescriptor> for TextureViewDescriptorExtension
impl From<YCbCrVkDescriptor> for TextureViewDescriptorExtension
Source§fn from(ext: YCbCrVkDescriptor) -> Self
fn from(ext: YCbCrVkDescriptor) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TextureViewDescriptorExtension
impl RefUnwindSafe for TextureViewDescriptorExtension
impl Send for TextureViewDescriptorExtension
impl Sync for TextureViewDescriptorExtension
impl Unpin for TextureViewDescriptorExtension
impl UnsafeUnpin for TextureViewDescriptorExtension
impl UnwindSafe for TextureViewDescriptorExtension
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