Struct kn_cuda_sys::wrapper::rtc::core::CompileResult
source · pub struct CompileResult {
pub source: String,
pub log: String,
pub module: Result<CuModule, nvrtcResult>,
pub lowered_names: HashMap<String, String>,
}Fields§
§source: String§log: String§module: Result<CuModule, nvrtcResult>§lowered_names: HashMap<String, String>Implementations§
source§impl CompileResult
impl CompileResult
pub fn get_function_by_name( &self, name: &str ) -> Result<Option<CuFunction>, nvrtcResult>
pub fn source_with_line_numbers(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompileResult
impl RefUnwindSafe for CompileResult
impl !Send for CompileResult
impl !Sync for CompileResult
impl Unpin for CompileResult
impl UnwindSafe for CompileResult
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