Struct hassle_rs::intellisense::IDxcTranslationUnit
source · [−]#[repr(C)]pub struct IDxcTranslationUnit { /* private fields */ }
Implementations
sourceimpl IDxcTranslationUnit
impl IDxcTranslationUnit
pub unsafe fn get_cursor(&self, cursor: *mut *mut IDxcCursor) -> HRESULT
pub unsafe fn tokenize(
&self,
range: *const IDxcSourceRange,
tokens: *mut *mut *mut IDxcToken,
token_count: *mut u32
) -> HRESULT
pub unsafe fn get_location(
&self,
file: *mut IDxcFile,
line: u32,
column: u32,
result: *mut *mut IDxcSourceLocation
) -> HRESULT
pub unsafe fn get_num_diagnostics(&self, value: *mut u32) -> HRESULT
pub unsafe fn get_diagnostic(
&self,
index: u32,
value: *mut *mut IDxcDiagnostic
) -> HRESULT
pub unsafe fn get_file(
&self,
name: *const u8,
result: *mut *mut IDxcFile
) -> HRESULT
pub unsafe fn get_file_name(&self, result: *mut LPSTR) -> HRESULT
pub unsafe fn reparse(
&self,
unsaved_files: *mut *mut IDxcUnsavedFile,
num_unsaved_files: u32
) -> HRESULT
pub unsafe fn get_cursor_for_location(
&self,
location: *const IDxcSourceLocation,
result: *mut *mut IDxcCursor
) -> HRESULT
pub unsafe fn get_location_for_offset(
&self,
file: *const IDxcFile,
offset: u32,
result: *mut *mut IDxcSourceLocation
) -> HRESULT
pub unsafe fn get_skipped_ranges(
&self,
file: *const IDxcFile,
result_count: *mut u32,
result: *mut *mut *mut IDxcSourceRange
) -> HRESULT
pub unsafe fn get_diagnostic_details(
&self,
index: u32,
options: DxcDiagnosticDisplayOptions,
error_code: *mut u32,
error_line: *mut u32,
error_column: *mut u32,
error_file: *mut BSTR,
error_offset: *mut u32,
error_length: *mut u32,
error_message: *mut BSTR
) -> HRESULT
pub unsafe fn get_inclusion_list(
&self,
result_count: *mut u32,
result: *mut *mut *mut IDxcInclusion
) -> HRESULT
Trait Implementations
sourceimpl ComInterface for IDxcTranslationUnit
impl ComInterface for IDxcTranslationUnit
sourceimpl Debug for IDxcTranslationUnit
impl Debug for IDxcTranslationUnit
sourceimpl Deref for IDxcTranslationUnit
impl Deref for IDxcTranslationUnit
impl AsComPtr<IDxcTranslationUnit> for IDxcTranslationUnit
impl AsComPtr<IUnknown> for IDxcTranslationUnit
Auto Trait Implementations
impl RefUnwindSafe for IDxcTranslationUnit
impl !Send for IDxcTranslationUnit
impl !Sync for IDxcTranslationUnit
impl Unpin for IDxcTranslationUnit
impl UnwindSafe for IDxcTranslationUnit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more