Struct hassle_rs::intellisense::DxcCursor
source · pub struct DxcCursor { /* private fields */ }
Implementations§
source§impl DxcCursor
impl DxcCursor
pub fn get_children(&self, skip: u32, max_count: u32) -> Result<Vec<DxcCursor>>
pub fn get_all_children(&self) -> Result<Vec<DxcCursor>>
pub fn get_extent(&self) -> Result<DxcSourceRange>
pub fn get_location(&self) -> Result<DxcSourceLocation>
pub fn get_display_name(&self) -> Result<String>
pub fn get_formatted_name( &self, formatting: DxcCursorFormatting ) -> Result<String>
pub fn get_qualified_name(&self, include_template_args: bool) -> Result<String>
pub fn get_kind(&self) -> Result<DxcCursorKind>
pub fn get_kind_flags(&self) -> Result<DxcCursorKindFlags>
pub fn get_semantic_parent(&self) -> Result<DxcCursor>
pub fn get_lexical_parent(&self) -> Result<DxcCursor>
pub fn get_cursor_type(&self) -> Result<DxcType>
pub fn get_num_arguments(&self) -> Result<i32>
pub fn get_argument_at(&self, index: i32) -> Result<DxcCursor>
pub fn get_referenced_cursor(&self) -> Result<DxcCursor>
pub fn get_definition_cursor(&self) -> Result<DxcCursor>
pub fn find_references_in_file( &self, file: &DxcFile, skip: u32, top: u32 ) -> Result<Vec<DxcCursor>>
pub fn get_spelling(&self) -> Result<String>
pub fn is_equal_to(&self, other: &DxcCursor) -> Result<bool>
pub fn is_null(&mut self) -> Result<bool>
pub fn is_definition(&self) -> Result<bool>
pub fn get_snapped_child( &self, location: &DxcSourceLocation ) -> Result<DxcCursor>
pub fn get_source<'a>(&self, source: &'a str) -> Result<&'a str>
Auto Trait Implementations§
impl RefUnwindSafe for DxcCursor
impl !Send for DxcCursor
impl !Sync for DxcCursor
impl Unpin for DxcCursor
impl UnwindSafe for DxcCursor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more