Home
Original page
Metadata in binaryninja::metadata - Rust
pub struct Metadata {
/* private fields */
}
Implementations
§
Source
§
impl
Metadata
Source
pub fn
new_of_type
(metadata_type:
MetadataType
) ->
Ref
<Self>
Source
pub fn
get_type
(&self) ->
MetadataType
Source
pub fn
get_boolean
(&self) ->
Option
<
bool
>
Source
pub fn
get_unsigned_integer
(&self) ->
Option
<
u64
>
Source
pub fn
get_signed_integer
(&self) ->
Option
<
i64
>
Source
pub fn
get_double
(&self) ->
Option
<
f64
>
Source
pub fn
get_string
(&self) ->
Option
<
BnString
>
Source
pub fn
get_boolean_list
(&self) ->
Option
<
Vec
<
bool
>>
Source
pub fn
get_unsigned_integer_list
(&self) ->
Option
<
Vec
<
u64
>>
Source
pub fn
get_signed_integer_list
(&self) ->
Option
<
Vec
<
i64
>>
Source
pub fn
get_double_list
(&self) ->
Option
<
Vec
<
f64
>>
Source
pub fn
get_string_list
(&self) ->
Option
<
Vec
<
BnString
>>
Source
pub fn
get_json_string
(&self) ->
Option
<
BnString
>
Source
pub fn
get_raw
(&self) ->
Option
<
Vec
<
u8
>>
Source
pub fn
get_array
(&self) ->
Option
<
Array
<
Metadata
>>
Source
pub fn
get_value_store
(&self) ->
Option
<
HashMap
<
String
,
Ref
<
Metadata
>>>
Source
pub fn
len
(&self) ->
usize
Source
pub fn
is_empty
(&self) ->
bool
Source
pub fn
index
(&self, index:
usize
) ->
Result
<
Option
<
Ref
<
Metadata
>>,
()
>
Source
pub fn
get
(&self, key: &
str
) ->
Result
<
Option
<
Ref
<
Metadata
>>,
()
>
Source
pub fn
push
(&self, value: &
Metadata
) ->
Result
<
()
,
()
>
Source
pub fn
insert
(&self, key: &
str
, value: &
Metadata
) ->
Result
<
()
,
()
>
Source
pub fn
remove_index
(&self, index:
usize
) ->
Result
<
()
,
()
>
Source
pub fn
remove_key
(&self, key: &
str
) ->
Result
<
()
,
()
>
Trait Implementations
§
Auto Trait Implementations
§
§
impl
Freeze
for
Metadata
§
impl
RefUnwindSafe
for
Metadata
§
impl
Unpin
for
Metadata
§
impl
UnwindSafe
for
Metadata
Blanket Implementations
§