summaryrefslogtreecommitdiff
path: root/rust/src/binary_view.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2026-02-13 19:20:49 -0800
committerMason Reed <35282038+emesare@users.noreply.github.com>2026-02-23 00:09:44 -0800
commit7a7f9f07f16922cfbf744ed428ac482b988adf27 (patch)
tree8fd403f8955f05374f842913185837b877545d93 /rust/src/binary_view.rs
parent9c2a45b7b78742b0cfe0a8599b8fdbf1d24533d3 (diff)
[Rust] Misc TypeLibrary API improvements
Diffstat (limited to 'rust/src/binary_view.rs')
-rw-r--r--rust/src/binary_view.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/binary_view.rs b/rust/src/binary_view.rs
index 4e35dc8c..25ec6d48 100644
--- a/rust/src/binary_view.rs
+++ b/rust/src/binary_view.rs
@@ -2189,7 +2189,7 @@ pub trait BinaryViewExt: BinaryViewBase {
/// Note that the name actually inserted into the view may not match the name as it exists in
/// the type library in the event of a name conflict. To aid in this, the [`Type`] object
/// returned is a `NamedTypeReference` to the deconflicted name used.
- fn import_type_library<T: Into<QualifiedName>>(
+ fn import_type_library_type<T: Into<QualifiedName>>(
&self,
name: T,
lib: Option<&TypeLibrary>,
@@ -2216,7 +2216,7 @@ pub trait BinaryViewExt: BinaryViewBase {
/// NOTE: If you are implementing a custom [`BinaryView`] and use this method to import object types,
/// you should then call [BinaryViewExt::record_imported_object_library] with the details of
/// where the object is located.
- fn import_type_object<T: Into<QualifiedName>>(
+ fn import_type_library_object<T: Into<QualifiedName>>(
&self,
name: T,
lib: Option<&TypeLibrary>,