Struct ExShaderCompileSpirvFromSource
pub struct ExShaderCompileSpirvFromSource<'a> { /* private fields */ }
Expand description
Default-param extender for RenderingDevice::shader_compile_spirv_from_source_ex
.
Implementations§
§impl<'a> ExShaderCompileSpirvFromSource<'a>
impl<'a> ExShaderCompileSpirvFromSource<'a>
pub fn allow_cache( self, allow_cache: bool, ) -> ExShaderCompileSpirvFromSource<'a>
pub fn done(self) -> Option<Gd<RdShaderSpirv>>
Auto Trait Implementations§
impl<'a> Freeze for ExShaderCompileSpirvFromSource<'a>
impl<'a> RefUnwindSafe for ExShaderCompileSpirvFromSource<'a>
impl<'a> !Send for ExShaderCompileSpirvFromSource<'a>
impl<'a> !Sync for ExShaderCompileSpirvFromSource<'a>
impl<'a> Unpin for ExShaderCompileSpirvFromSource<'a>
impl<'a> !UnwindSafe for ExShaderCompileSpirvFromSource<'a>
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