Struct clang_sys::IndexerCallbacks [] [src]

pub struct IndexerCallbacks {
    pub abortQuery: extern fn(CXClientData, *mut c_void) -> c_int,
    pub diagnostic: extern fn(CXClientData, CXDiagnosticSet, *mut c_void),
    pub enteredMainFile: extern fn(CXClientData, CXFile, *mut c_void) -> CXIdxClientFile,
    pub ppIncludedFile: extern fn(CXClientData, *const CXIdxIncludedFileInfo) -> CXIdxClientFile,
    pub importedASTFile: extern fn(CXClientData, *const CXIdxImportedASTFileInfo) -> CXIdxClientASTFile,
    pub startedTranslationUnit: extern fn(CXClientData, *mut c_void) -> CXIdxClientContainer,
    pub indexDeclaration: extern fn(CXClientData, *const CXIdxDeclInfo),
    pub indexEntityReference: extern fn(CXClientData, *const CXIdxEntityRefInfo),
}

Fields

Trait Implementations

impl Copy for IndexerCallbacks
[src]

impl Clone for IndexerCallbacks
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for IndexerCallbacks
[src]

Formats the value using the given formatter.

impl Default for IndexerCallbacks
[src]

Returns the "default value" for a type. Read more