#[non_exhaustive]pub enum CompilationArtifact {
Ptx(ModuleImage<'static>),
Cubin(ModuleImage<'static>),
LtoIr(ModuleImage<'static>),
OptixIr(ModuleImage<'static>),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ptx(ModuleImage<'static>)
Cubin(ModuleImage<'static>)
LtoIr(ModuleImage<'static>)
OptixIr(ModuleImage<'static>)
Implementations§
Source§impl CompilationArtifact
impl CompilationArtifact
pub fn image(&self) -> &ModuleImage<'static>
pub fn into_image(self) -> ModuleImage<'static>
Auto Trait Implementations§
impl Freeze for CompilationArtifact
impl RefUnwindSafe for CompilationArtifact
impl Send for CompilationArtifact
impl Sync for CompilationArtifact
impl Unpin for CompilationArtifact
impl UnsafeUnpin for CompilationArtifact
impl UnwindSafe for CompilationArtifact
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