pub struct Compat<T>(/* private fields */);Implementations§
Source§impl<T> Compat<T>
impl<T> Compat<T>
pub fn into_inner(self) -> T
Trait Implementations§
Source§impl TryFrom<&BindGroupLayout> for Compat<BindGroupLayout>
impl TryFrom<&BindGroupLayout> for Compat<BindGroupLayout>
Source§type Error = WgpuCompatError
type Error = WgpuCompatError
The type returned in the event of a conversion error.
Source§impl TryFrom<&CommandBuffer> for Compat<CommandBuffer>
impl TryFrom<&CommandBuffer> for Compat<CommandBuffer>
Source§type Error = WgpuCompatError
type Error = WgpuCompatError
The type returned in the event of a conversion error.
Source§impl TryFrom<&CommandEncoder> for Compat<CommandEncoder>
impl TryFrom<&CommandEncoder> for Compat<CommandEncoder>
Source§type Error = WgpuCompatError
type Error = WgpuCompatError
The type returned in the event of a conversion error.
Source§impl TryFrom<&ComputePipeline> for Compat<ComputePipeline>
impl TryFrom<&ComputePipeline> for Compat<ComputePipeline>
Source§type Error = WgpuCompatError
type Error = WgpuCompatError
The type returned in the event of a conversion error.
Source§impl TryFrom<&PipelineLayout> for Compat<PipelineLayout>
impl TryFrom<&PipelineLayout> for Compat<PipelineLayout>
Source§type Error = WgpuCompatError
type Error = WgpuCompatError
The type returned in the event of a conversion error.
Source§impl TryFrom<&RenderBundle> for Compat<RenderBundle>
impl TryFrom<&RenderBundle> for Compat<RenderBundle>
Source§type Error = WgpuCompatError
type Error = WgpuCompatError
The type returned in the event of a conversion error.
Source§impl TryFrom<&RenderPipeline> for Compat<RenderPipeline>
impl TryFrom<&RenderPipeline> for Compat<RenderPipeline>
Source§type Error = WgpuCompatError
type Error = WgpuCompatError
The type returned in the event of a conversion error.
Source§impl TryFrom<&ShaderModule> for Compat<ShaderModule>
impl TryFrom<&ShaderModule> for Compat<ShaderModule>
Source§type Error = WgpuCompatError
type Error = WgpuCompatError
The type returned in the event of a conversion error.
Source§impl TryFrom<&TextureView> for Compat<TextureView>
impl TryFrom<&TextureView> for Compat<TextureView>
Source§type Error = WgpuCompatError
type Error = WgpuCompatError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<T> Freeze for Compat<T>where
T: Freeze,
impl<T> RefUnwindSafe for Compat<T>where
T: RefUnwindSafe,
impl<T> Send for Compat<T>where
T: Send,
impl<T> Sync for Compat<T>where
T: Sync,
impl<T> Unpin for Compat<T>where
T: Unpin,
impl<T> UnsafeUnpin for Compat<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Compat<T>where
T: 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