Struct IndexerCallbacks

struct IndexerCallbacks { ... }

Fields

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

Implementations

impl Clone for IndexerCallbacks

fn clone(self: &Self) -> IndexerCallbacks

impl Copy for IndexerCallbacks

impl Debug for IndexerCallbacks

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Default for IndexerCallbacks

fn default() -> IndexerCallbacks

impl Freeze for IndexerCallbacks

impl RefUnwindSafe for IndexerCallbacks

impl Send for IndexerCallbacks

impl Sync for IndexerCallbacks

impl Unpin for IndexerCallbacks

impl UnsafeUnpin for IndexerCallbacks

impl UnwindSafe for IndexerCallbacks

impl<T> Any for IndexerCallbacks

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for IndexerCallbacks

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for IndexerCallbacks

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for IndexerCallbacks

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for IndexerCallbacks

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for IndexerCallbacks

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for IndexerCallbacks

fn into(self: Self) -> U

Calls U::from(self).

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

impl<T, U> TryFrom for IndexerCallbacks

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for IndexerCallbacks

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>