Struct corpus_database::tables::Tables[][src]

pub struct Tables { /* fields omitted */ }

Implementations

impl Tables[src]

pub fn register_strings(&mut self, value_1: String) -> InternedString[src]

pub fn register_package_names(&mut self, value_2: String) -> Package[src]

pub fn register_package_versions(&mut self, value_2: String) -> PackageVersion[src]

pub fn register_crate_names(&mut self, value_2: String) -> Krate[src]

pub fn register_editions(&mut self, value_2: String) -> Edition[src]

pub fn register_names(&mut self, value_2: String) -> Name[src]

pub fn register_relative_def_paths(&mut self, value_2: String) -> RelativeDefId[src]

pub fn register_summary_keys(&mut self, value_2: String) -> SummaryId[src]

pub fn register_abis(&mut self, value_2: String) -> Abi[src]

pub fn register_def_paths(
    &mut self,
    value_krate_2: String,
    value_cratehash_0: CrateHash,
    value_relativedefid_2: String,
    value_defpathhash_0: DefPathHash,
    value_summaryid_2: String
) -> DefPath
[src]

pub fn register_builds(
    &mut self,
    value_package_2: String,
    value_packageversion_2: String,
    value_krate_2: String,
    value_cratehash_0: CrateHash,
    value_edition_2: String
) -> Build
[src]

pub fn register_span_file_names(&mut self, value_2: String) -> SpanFileName[src]

pub fn register_crate_cfg_keys(&mut self, value_2: String) -> CrateCfgKey[src]

pub fn register_crate_cfg_values(&mut self, value_2: String) -> CrateCfgValue[src]

pub fn register_type_kinds(&mut self, value_2: String) -> TyKind[src]

pub fn register_statement_kinds(&mut self, value_2: String) -> StatementKind[src]

pub fn register_binary_op_kind(&mut self, value_2: String) -> BinOp[src]

pub fn register_nullary_op_kind(&mut self, value_2: String) -> NullOp[src]

pub fn register_unary_op_kind(&mut self, value_2: String) -> UnOp[src]

pub fn register_terminator_kinds(&mut self, value_2: String) -> TerminatorKind[src]

pub fn register_def_path_span(&mut self, def_path_0: DefPath, span_0: Span)[src]

pub fn register_build_crate_types(
    &mut self,
    build_0: Build,
    crate_type_1: String
)
[src]

pub fn register_root_modules(&mut self, build_0: Build) -> (Module,)[src]

pub fn register_submodules(
    &mut self,
    def_path_0: DefPath,
    parent_0: Module,
    name_2: String,
    visibility_0: Visibility,
    abi_2: String
) -> (Module,)
[src]

pub fn register_function_definitions(
    &mut self,
    def_path_0: DefPath,
    module_0: Module,
    visibility_0: Visibility,
    unsafety_0: Unsafety,
    abi_2: String,
    return_ty_0: Type
) -> (Item,)
[src]

pub fn register_function_parameter_types(
    &mut self,
    function_0: Item,
    index_0: FnParamIndex,
    typ_0: Type
)
[src]

pub fn register_function_unsafe_use(
    &mut self,
    def_path_0: DefPath,
    uses_unsafe_0: bool
)
[src]

pub fn register_function_unsafe_reasons(
    &mut self,
    def_path_0: DefPath,
    index_0: u32,
    reason_1: String
)
[src]

pub fn register_static_definitions(
    &mut self,
    def_path_0: DefPath,
    module_0: Module,
    name_2: String,
    visibility_0: Visibility,
    mutability_0: Mutability
) -> (Item,)
[src]

pub fn register_impl_definitions(
    &mut self,
    def_path_0: DefPath,
    module_0: Module,
    name_2: String,
    visibility_0: Visibility,
    unsafety_0: Unsafety,
    polarity_0: ImplPolarity,
    defaultness_0: Defaultness,
    constness_0: Constness,
    typ_0: Type
) -> (Item,)
[src]

pub fn register_trait_impls(
    &mut self,
    item_0: Item,
    typ_0: Type,
    trait_def_path_0: DefPath
)
[src]

pub fn register_global_asm_blocks(
    &mut self,
    def_path_0: DefPath,
    module_0: Module,
    name_2: String,
    visibility_0: Visibility
) -> (Item,)
[src]

pub fn register_items(
    &mut self,
    def_path_0: DefPath,
    module_0: Module,
    name_2: String,
    visibility_0: Visibility
) -> (Item,)
[src]

pub fn register_mir_cfgs(
    &mut self,
    item_0: Item,
    body_def_path_0: DefPath
) -> (Scope,)
[src]

pub fn register_subscopes(
    &mut self,
    parent_0: Scope,
    safety_0: ScopeSafety,
    check_mode_0: BlockCheckMode,
    explicit_unsafe_group_0: u32,
    span_0: Span
) -> (Scope,)
[src]

pub fn register_spans(
    &mut self,
    call_site_span_0: Span,
    expansion_kind_0: SpanExpansionKind,
    expansion_kind_descr_1: String,
    file_name_2: String,
    line_0: u16,
    col_0: u16
) -> (Span,)
[src]

pub fn register_macro_expansions(
    &mut self,
    span_0: Span,
    macro_symbol_1: String,
    macro_definition_file_name_2: String,
    line_0: u16,
    col_0: u16
)
[src]

pub fn register_crate_cfgs(
    &mut self,
    build_0: Build,
    key_2: String,
    value_2: String
)
[src]

pub fn register_crate_authors(&mut self, build_0: Build, author_1: String)[src]

pub fn register_crate_keywords(&mut self, build_0: Build, keyword_1: String)[src]

pub fn register_crate_categories(&mut self, build_0: Build, category_1: String)[src]

pub fn register_type_defs(
    &mut self,
    typ_0: Type,
    def_path_0: DefPath,
    name_1: String,
    visibility_0: Visibility,
    kind_0: TyDefKind
) -> (Item,)
[src]

pub fn register_types(&mut self, kind_2: String) -> (Type,)[src]

pub fn register_types_primitive(
    &mut self,
    typ_0: Type,
    primitive_kind_0: TyPrimitive
)
[src]

pub fn register_types_adt_def(
    &mut self,
    typ_0: Type,
    def_path_0: DefPath,
    kind_0: AdtKind,
    c_repr_0: bool,
    is_phantom_0: bool
)
[src]

pub fn register_types_adt_variant(
    &mut self,
    adt_0: Type,
    index_0: AdtVariantIndex,
    def_path_0: DefPath,
    ident_1: String
)
[src]

pub fn register_types_adt_field(
    &mut self,
    adt_0: Type,
    index_0: AdtVariantIndex,
    def_path_0: DefPath,
    ident_1: String,
    visibility_0: TyVisibility,
    typ_0: Type
) -> (Field,)
[src]

pub fn register_types_adt_field_visible_in(
    &mut self,
    field_0: Field,
    module_0: DefPath
)
[src]

pub fn register_types_foreign(
    &mut self,
    typ_0: Type,
    foreign_def_path_0: DefPath
)
[src]

pub fn register_types_array(&mut self, typ_0: Type, element_type_0: Type)[src]

pub fn register_types_slice(&mut self, typ_0: Type, element_type_0: Type)[src]

pub fn register_types_raw_ptr(
    &mut self,
    typ_0: Type,
    target_type_0: Type,
    mutability_0: Mutability
)
[src]

pub fn register_types_ref(
    &mut self,
    typ_0: Type,
    target_type_0: Type,
    mutability_0: Mutability
)
[src]

pub fn register_types_fn_def(&mut self, typ_0: Type, def_path_0: DefPath)[src]

pub fn register_types_fn_ptr(&mut self, typ_0: Type)[src]

pub fn register_types_dynamic(&mut self, typ_0: Type)[src]

pub fn register_types_dynamic_trait(
    &mut self,
    typ_0: Type,
    def_path_0: DefPath,
    is_auto_0: bool
)
[src]

pub fn register_types_closure(&mut self, typ_0: Type, def_path_0: DefPath)[src]

pub fn register_types_generator(&mut self, typ_0: Type, def_path_0: DefPath)[src]

pub fn register_types_generator_witness(&mut self, typ_0: Type)[src]

pub fn register_types_tuple(&mut self, typ_0: Type)[src]

pub fn register_types_tuple_element(
    &mut self,
    tuple_type_0: Type,
    index_0: TupleFieldIndex,
    typ_0: Type
)
[src]

pub fn register_types_projection(
    &mut self,
    typ_0: Type,
    trait_def_path_0: DefPath,
    trait_item_0: DefPath
)
[src]

pub fn register_types_opaque(&mut self, typ_0: Type, def_path_0: DefPath)[src]

pub fn register_types_param(
    &mut self,
    typ_0: Type,
    index_0: u32,
    name_1: String
)
[src]

pub fn register_traits(
    &mut self,
    def_path_0: DefPath,
    name_1: String,
    visibility_0: Visibility,
    is_auto_0: bool,
    is_marker_0: bool,
    unsafety_0: Unsafety
) -> (Item,)
[src]

pub fn register_trait_items(
    &mut self,
    trait_id_0: Item,
    def_path_0: DefPath,
    defaultness_0: Defaultness
)
[src]

pub fn register_basic_blocks(
    &mut self,
    mir_0: DefPath,
    kind_0: BasicBlockKind
) -> (BasicBlock,)
[src]

pub fn register_statements(
    &mut self,
    stmt_0: Statement,
    block_0: BasicBlock,
    index_0: StatementIndex,
    kind_2: String,
    scope_0: Scope
)
[src]

pub fn register_statements_assign_use(
    &mut self,
    target_type_0: Type,
    operand_0: Operand
) -> (Statement,)
[src]

pub fn register_statements_assign_thead_local_ref(
    &mut self,
    target_type_0: Type,
    def_path_0: DefPath
) -> (Statement,)
[src]

pub fn register_statements_assign_repeat(
    &mut self,
    target_type_0: Type,
    operand_0: Operand,
    count_0: u64
) -> (Statement,)
[src]

pub fn register_statements_assign_ref(
    &mut self,
    target_type_0: Type,
    source_type_0: Type,
    kind_0: BorrowKind
) -> (Statement,)
[src]

pub fn register_statements_assign_address(
    &mut self,
    target_type_0: Type,
    source_type_0: Type,
    mutability_0: Mutability
) -> (Statement,)
[src]

pub fn register_statements_assign_len(
    &mut self,
    target_type_0: Type,
    source_type_0: Type
) -> (Statement,)
[src]

pub fn register_statements_assign_cast(
    &mut self,
    target_type_0: Type,
    kind_0: CastKind,
    operand_0: Operand,
    typ_0: Type
) -> (Statement,)
[src]

pub fn register_statements_assign_binary_op(
    &mut self,
    target_type_0: Type,
    kind_2: String,
    first_0: Operand,
    second_0: Operand
) -> (Statement,)
[src]

pub fn register_statements_assign_checked_binary_op(
    &mut self,
    target_type_0: Type,
    kind_2: String,
    first_0: Operand,
    second_0: Operand
) -> (Statement,)
[src]

pub fn register_statements_assign_nullary_op(
    &mut self,
    target_type_0: Type,
    kind_2: String,
    source_type_0: Type
) -> (Statement,)
[src]

pub fn register_statements_assign_unary_op(
    &mut self,
    target_type_0: Type,
    kind_2: String,
    operand_0: Operand
) -> (Statement,)
[src]

pub fn register_statements_assign_discriminant(
    &mut self,
    target_type_0: Type,
    source_type_0: Type
) -> (Statement,)
[src]

pub fn register_statements_assign_aggregate(
    &mut self,
    target_type_0: Type,
    kind_0: AggregateKind
) -> (Statement,)
[src]

pub fn register_statements_assign_aggregate_operands(
    &mut self,
    stmt_0: Statement,
    index_0: OperandIndex,
    operand_0: Operand
)
[src]

pub fn register_statements_inline_asm_inputs(
    &mut self,
    stmt_0: Statement,
    operand_0: Operand
)
[src]

pub fn register_statements_inline_asm_outputs(
    &mut self,
    stmt_0: Statement,
    typ_0: Type
)
[src]

pub fn register_operands(
    &mut self,
    kind_0: OperandKind,
    typ_0: Type
) -> (Operand,)
[src]

pub fn register_terminators(
    &mut self,
    block_0: BasicBlock,
    kind_2: String,
    scope_0: Scope
)
[src]

pub fn register_terminators_goto(
    &mut self,
    block_0: BasicBlock,
    target_0: BasicBlock
)
[src]

pub fn register_terminators_switch_int(
    &mut self,
    block_0: BasicBlock,
    discriminant_0: Operand,
    switch_ty_0: Type
)
[src]

pub fn register_terminators_switch_int_targets(
    &mut self,
    block_0: BasicBlock,
    condition_value_0: u128,
    target_0: BasicBlock
)
[src]

pub fn register_terminators_drop(
    &mut self,
    block_0: BasicBlock,
    location_0: Type,
    target_0: BasicBlock,
    unwind_0: BasicBlock
)
[src]

pub fn register_terminators_drop_and_replace(
    &mut self,
    block_0: BasicBlock,
    location_0: Type,
    value_0: Operand,
    target_0: BasicBlock,
    unwind_0: BasicBlock
)
[src]

pub fn register_terminators_call(
    &mut self,
    block_0: BasicBlock,
    func_0: Operand,
    unsafety_0: Unsafety,
    abi_2: String,
    return_ty_0: Type,
    destination_0: BasicBlock,
    cleanup_0: BasicBlock,
    span_0: Span
) -> (FunctionCall,)
[src]

pub fn register_terminators_call_arg(
    &mut self,
    call_0: FunctionCall,
    index_0: CallArgIndex,
    arg_0: Operand
)
[src]

pub fn register_terminators_call_const_target(
    &mut self,
    call_0: FunctionCall,
    def_path_0: DefPath
)
[src]

pub fn register_terminators_call_const_target_self(
    &mut self,
    call_0: FunctionCall,
    typ_0: Type
)
[src]

pub fn register_terminators_assert(
    &mut self,
    block_0: BasicBlock,
    cond_0: Operand,
    expected_0: bool,
    target_0: BasicBlock,
    cleanup_0: BasicBlock
)
[src]

pub fn register_terminators_yield(
    &mut self,
    block_0: BasicBlock,
    value_0: Operand,
    resume_0: BasicBlock,
    drop_0: BasicBlock
)
[src]

pub fn register_terminators_false_edges(
    &mut self,
    block_0: BasicBlock,
    real_target_0: BasicBlock,
    imaginary_target_0: BasicBlock
)
[src]

pub fn register_terminators_false_unwind(
    &mut self,
    block_0: BasicBlock,
    real_target_0: BasicBlock,
    unwind_0: BasicBlock
)
[src]

pub fn register_terminators_inline_asm(&mut self, block_0: BasicBlock)[src]

impl Tables[src]

pub fn get_fresh_module(&mut self) -> Module[src]

pub fn get_fresh_item(&mut self) -> Item[src]

pub fn get_fresh_scope(&mut self) -> Scope[src]

pub fn get_fresh_functioncall(&mut self) -> FunctionCall[src]

pub fn get_fresh_span(&mut self) -> Span[src]

pub fn get_root_parent_span(&mut self) -> Span[src]

pub fn get_fresh_type(&mut self) -> Type[src]

pub fn get_fresh_field(&mut self) -> Field[src]

pub fn get_fresh_operand(&mut self) -> Operand[src]

pub fn get_fresh_basicblock(&mut self) -> BasicBlock[src]

pub fn get_no_block(&mut self) -> BasicBlock[src]

pub fn get_fresh_statement(&mut self) -> Statement[src]

impl Tables[src]

pub fn print_statistics(&self)[src]

impl Tables[src]

pub fn load_multifile(database_root: &Path) -> Result<Tables, Error>[src]

pub fn load_single_file(tables_file: &Path) -> Result<Tables, Error>[src]

pub fn store_multifile(&self, database_root: &Path) -> Result<(), Error>[src]

impl Tables[src]

pub fn save_json(&self, path: PathBuf)[src]

path – the path without the extension.

pub fn save_bincode(&self, path: PathBuf)[src]

path – the path the without extension.

pub fn load(path: &Path) -> Result<Self, Error>[src]

path – the path with the extension.

Trait Implementations

impl Default for Tables[src]

impl<'de> Deserialize<'de> for Tables[src]

impl Serialize for Tables[src]

Auto Trait Implementations

impl RefUnwindSafe for Tables

impl Send for Tables

impl Sync for Tables

impl Unpin for Tables

impl UnwindSafe for Tables

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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.