Struct binaryninja::metadata::Metadata
source · pub struct Metadata { /* private fields */ }
Implementations§
source§impl Metadata
impl Metadata
pub fn new_of_type(metadata_type: MetadataType) -> Ref<Self>
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_json_string(&self) -> Result<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§
source§impl CoreArrayProvider for Metadata
impl CoreArrayProvider for Metadata
source§impl PartialEq for Metadata
impl PartialEq for Metadata
source§impl ToOwned for Metadata
impl ToOwned for Metadata
impl Send for Metadata
impl Sync for Metadata
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more