Struct binaryninja::metadata::Metadata
[−]pub struct Metadata { /* private fields */ }
Implementations
impl Metadata
impl Metadata
pub fn get_type(&self) -> MetadataType
pub fn get_boolean(&self) -> Result<bool, ()>
pub fn get_unsigned_integer(&self) -> Result<u64, ()>
pub fn get_signed_integer(&self) -> Result<i64, ()>
pub fn get_double(&self) -> Result<f64, ()>
pub fn get_string(&self) -> Result<BnString, ()>
pub fn get_boolean_list(&self) -> Result<Vec<bool>, ()>
pub fn get_unsigned_integer_list(&self) -> Result<Vec<u64>, ()>
pub fn get_signed_integer_list(&self) -> Result<Vec<i64>, ()>
pub fn get_double_list(&self) -> Result<Vec<f64>, ()>
pub fn get_string_list(&self) -> Result<Vec<BnString>, ()>
pub fn get_raw(&self) -> Result<Vec<u8>, ()>
pub fn get_array(&self) -> Result<Array<Metadata>, ()>
pub fn get_value_store(&self) -> Result<HashMap<BnString, Ref<Metadata>>, ()>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn index(&self, index: usize) -> Result<Option<Ref<Metadata>>, ()>
pub fn get<S: BnStrCompatible>(
&self,
key: S
) -> Result<Option<Ref<Metadata>>, ()>
pub fn push(&self, value: &Metadata) -> Result<(), ()>
pub fn insert<S: BnStrCompatible>(
&self,
key: S,
value: &Metadata
) -> Result<(), ()>
pub fn remove_index(&self, index: usize) -> Result<(), ()>
pub fn remove_key<S: BnStrCompatible>(&self, key: S) -> Result<(), ()>
Trait Implementations
impl<'a> CoreArrayWrapper<'a> for Metadata
impl<'a> CoreArrayWrapper<'a> for Metadata
impl CoreOwnedArrayProvider for Metadata
impl CoreOwnedArrayProvider for Metadata
impl RefCountable for Metadata
impl RefCountable for Metadata
impl ToOwned for Metadata
impl ToOwned for Metadata
impl Send for Metadata
impl Sync for Metadata
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more