Struct clang_sys::IndexerCallbacks[][src]

#[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

impl Clone for IndexerCallbacks[src]

impl Copy for IndexerCallbacks[src]

impl Debug for IndexerCallbacks[src]

impl Default for IndexerCallbacks[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.