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

Fields

abortQuery: Option<extern "C" fn(_: CXClientData, _: *mut c_void) -> c_int>diagnostic: Option<extern "C" fn(_: CXClientData, _: CXDiagnosticSet, _: *mut c_void)>enteredMainFile: Option<extern "C" fn(_: CXClientData, _: CXFile, _: *mut c_void) -> CXIdxClientFile>ppIncludedFile: Option<extern "C" fn(_: CXClientData, _: *const CXIdxIncludedFileInfo) -> CXIdxClientFile>importedASTFile: Option<extern "C" fn(_: CXClientData, _: *const CXIdxImportedASTFileInfo) -> CXIdxClientASTFile>startedTranslationUnit: Option<extern "C" fn(_: CXClientData, _: *mut c_void) -> CXIdxClientContainer>indexDeclaration: Option<extern "C" fn(_: CXClientData, _: *const CXIdxDeclInfo)>indexEntityReference: Option<extern "C" fn(_: CXClientData, _: *const CXIdxEntityRefInfo)>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.