Struct clang_sys::IndexerCallbacks [−][src]
#[repr(C)]pub struct IndexerCallbacks { pub abortQuery: extern "C" fn(_: CXClientData, _: *mut c_void) -> c_int, pub diagnostic: extern "C" fn(_: CXClientData, _: CXDiagnosticSet, _: *mut c_void), pub enteredMainFile: extern "C" fn(_: CXClientData, _: CXFile, _: *mut c_void) -> CXIdxClientFile, pub ppIncludedFile: extern "C" fn(_: CXClientData, _: *const CXIdxIncludedFileInfo) -> CXIdxClientFile, pub importedASTFile: extern "C" fn(_: CXClientData, _: *const CXIdxImportedASTFileInfo) -> CXIdxClientASTFile, pub startedTranslationUnit: extern "C" fn(_: CXClientData, _: *mut c_void) -> CXIdxClientContainer, pub indexDeclaration: extern "C" fn(_: CXClientData, _: *const CXIdxDeclInfo), pub indexEntityReference: extern "C" fn(_: CXClientData, _: *const CXIdxEntityRefInfo), }
Fields
abortQuery: extern "C" fn(_: CXClientData, _: *mut c_void) -> c_int
diagnostic: extern "C" fn(_: CXClientData, _: CXDiagnosticSet, _: *mut c_void)
enteredMainFile: extern "C" fn(_: CXClientData, _: CXFile, _: *mut c_void) -> CXIdxClientFile
ppIncludedFile: extern "C" fn(_: CXClientData, _: *const CXIdxIncludedFileInfo) -> CXIdxClientFile
importedASTFile: extern "C" fn(_: CXClientData, _: *const CXIdxImportedASTFileInfo) -> CXIdxClientASTFile
startedTranslationUnit: extern "C" fn(_: CXClientData, _: *mut c_void) -> CXIdxClientContainer
indexDeclaration: extern "C" fn(_: CXClientData, _: *const CXIdxDeclInfo)
indexEntityReference: extern "C" fn(_: CXClientData, _: *const CXIdxEntityRefInfo)
Trait Implementations
impl Copy for IndexerCallbacks
[src]
impl Copy for IndexerCallbacks
impl Clone for IndexerCallbacks
[src]
impl Clone for IndexerCallbacks
fn clone(&self) -> IndexerCallbacks
[src]
fn clone(&self) -> IndexerCallbacks
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for IndexerCallbacks
[src]
impl Debug for IndexerCallbacks
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for IndexerCallbacks
[src]
impl Default for IndexerCallbacks
fn default() -> IndexerCallbacks
[src]
fn default() -> IndexerCallbacks
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for IndexerCallbacks
impl Send for IndexerCallbacks
impl Sync for IndexerCallbacks
impl Sync for IndexerCallbacks