Struct binaryninja::custombinaryview::BinaryViewType
source · [−]pub struct BinaryViewType(pub *mut BNBinaryViewType);
Tuple Fields
0: *mut BNBinaryViewType
Implementations
sourceimpl 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
sourceimpl AsRef<BinaryViewType> for BinaryViewType
impl AsRef<BinaryViewType> for BinaryViewType
sourceimpl BinaryViewTypeBase for BinaryViewType
impl BinaryViewTypeBase for BinaryViewType
fn is_valid_for(&self, data: &BinaryView) -> bool
fn is_deprecated(&self) -> bool
fn default_load_settings_for_data(
&self,
data: &BinaryView
) -> Result<Ref<Settings>>
fn load_settings_for_data(&self, data: &BinaryView) -> Result<Ref<Settings>>
sourceimpl Clone for BinaryViewType
impl Clone for BinaryViewType
sourcefn clone(&self) -> BinaryViewType
fn clone(&self) -> BinaryViewType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl CoreArrayProvider for BinaryViewType
impl CoreArrayProvider for BinaryViewType
sourceimpl<'a> CoreArrayWrapper<'a> for BinaryViewType
impl<'a> CoreArrayWrapper<'a> for BinaryViewType
sourceimpl Hash for BinaryViewType
impl Hash for BinaryViewType
sourceimpl PartialEq<BinaryViewType> for BinaryViewType
impl PartialEq<BinaryViewType> for BinaryViewType
sourcefn eq(&self, other: &BinaryViewType) -> bool
fn eq(&self, other: &BinaryViewType) -> bool
impl Copy for BinaryViewType
impl Eq for BinaryViewType
impl Send for BinaryViewType
impl StructuralEq 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
sourceimpl<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>>
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