Struct binaryninja::custombinaryview::BinaryViewType
source · pub struct BinaryViewType(pub *mut BNBinaryViewType);
Tuple Fields§
§0: *mut BNBinaryViewType
Implementations§
source§impl BinaryViewType
impl BinaryViewType
pub fn list_all() -> Array<BinaryViewType>
pub fn list_valid_types_for(data: &BinaryView) -> Array<BinaryViewType>
sourcepub fn by_name<N: BnStrCompatible>(name: N) -> Result<Self>
pub fn by_name<N: BnStrCompatible>(name: N) -> Result<Self>
Looks up a BinaryViewType by its short name
Trait Implementations§
source§impl AsRef<BinaryViewType> for BinaryViewType
impl AsRef<BinaryViewType> for BinaryViewType
source§impl BinaryViewTypeBase for BinaryViewType
impl BinaryViewTypeBase for BinaryViewType
fn is_valid_for(&self, data: &BinaryView) -> bool
fn is_deprecated(&self) -> bool
fn is_force_loadable(&self) -> bool
fn load_settings_for_data(&self, data: &BinaryView) -> Option<Ref<Settings>>
fn default_load_settings_for_data( &self, data: &BinaryView ) -> Option<Ref<Settings>>
source§impl Clone for BinaryViewType
impl Clone for BinaryViewType
source§fn clone(&self) -> BinaryViewType
fn clone(&self) -> BinaryViewType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl CoreArrayProvider for BinaryViewType
impl CoreArrayProvider for BinaryViewType
source§impl Hash for BinaryViewType
impl Hash for BinaryViewType
source§impl PartialEq for BinaryViewType
impl PartialEq for BinaryViewType
source§fn eq(&self, other: &BinaryViewType) -> bool
fn eq(&self, other: &BinaryViewType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BinaryViewType
impl Eq for BinaryViewType
impl Send for BinaryViewType
impl StructuralPartialEq for BinaryViewType
impl Sync for BinaryViewType
Auto Trait Implementations§
impl RefUnwindSafe for BinaryViewType
impl Unpin for BinaryViewType
impl UnwindSafe for BinaryViewType
Blanket Implementations§
source§impl<T> BinaryViewTypeExt for Twhere
T: BinaryViewTypeBase,
impl<T> BinaryViewTypeExt for Twhere
T: BinaryViewTypeBase,
fn name(&self) -> BnString
fn long_name(&self) -> BnString
fn register_arch<A: Architecture>( &self, id: u32, endianness: Endianness, arch: &A )
fn register_platform(&self, id: u32, plat: &Platform)
fn open(&self, data: &BinaryView) -> Result<Ref<BinaryView>>
fn parse(&self, data: &BinaryView) -> Result<Ref<BinaryView>>
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