GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions
/tmp/gdb-13.1/gdb/rust-lang.h File Reference
#include "demangle.h"
#include "language.h"
#include "value.h"
#include "c-lang.h"

Go to the source code of this file.

Classes

class  rust_language
 

Functions

bool rust_tuple_type_p (struct type *type)
 
bool rust_tuple_struct_type_p (struct type *type)
 
std::string rust_crate_for_block (const struct block *block)
 
const char * rust_last_path_segment (const char *path)
 
struct typerust_slice_type (const char *name, struct type *elt_type, struct type *usize_type)
 

Function Documentation

◆ rust_crate_for_block()

std::string rust_crate_for_block ( const struct block block)

Definition at line 59 of file rust-lang.c.

References block_scope(), and cp_find_first_component().

Referenced by rust_parser::crate_name().

◆ rust_last_path_segment()

const char * rust_last_path_segment ( const char *  path)

◆ rust_slice_type()

struct type * rust_slice_type ( const char *  name,
struct type elt_type,
struct type usize_type 
)

◆ rust_tuple_struct_type_p()

bool rust_tuple_struct_type_p ( struct type type)

◆ rust_tuple_type_p()

bool rust_tuple_type_p ( struct type type)