Struct clang_sys::CXIdxDeclInfo
source · #[repr(C)]pub struct CXIdxDeclInfo {Show 13 fields
pub entityInfo: *const CXIdxEntityInfo,
pub cursor: CXCursor,
pub loc: CXIdxLoc,
pub semanticContainer: *const CXIdxContainerInfo,
pub lexicalContainer: *const CXIdxContainerInfo,
pub isRedeclaration: c_int,
pub isDefinition: c_int,
pub isContainer: c_int,
pub declAsContainer: *const CXIdxContainerInfo,
pub isImplicit: c_int,
pub attributes: *const *const CXIdxAttrInfo,
pub numAttributes: c_uint,
pub flags: c_uint,
}
Fields
entityInfo: *const CXIdxEntityInfo
cursor: CXCursor
loc: CXIdxLoc
semanticContainer: *const CXIdxContainerInfo
lexicalContainer: *const CXIdxContainerInfo
isRedeclaration: c_int
isDefinition: c_int
isContainer: c_int
declAsContainer: *const CXIdxContainerInfo
isImplicit: c_int
attributes: *const *const CXIdxAttrInfo
numAttributes: c_uint
flags: c_uint
Trait Implementations
sourceimpl Clone for CXIdxDeclInfo
impl Clone for CXIdxDeclInfo
sourcefn clone(&self) -> CXIdxDeclInfo
fn clone(&self) -> CXIdxDeclInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CXIdxDeclInfo
impl Debug for CXIdxDeclInfo
sourceimpl Default for CXIdxDeclInfo
impl Default for CXIdxDeclInfo
sourcefn default() -> CXIdxDeclInfo
fn default() -> CXIdxDeclInfo
Returns the “default value” for a type. Read more
impl Copy for CXIdxDeclInfo
Auto Trait Implementations
impl RefUnwindSafe for CXIdxDeclInfo
impl !Send for CXIdxDeclInfo
impl !Sync for CXIdxDeclInfo
impl Unpin for CXIdxDeclInfo
impl UnwindSafe for CXIdxDeclInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more