BinaryViewTypeBase in binaryninja::custom_binary_view - Rust

Trait BinaryViewTypeBase

Source

pub trait BinaryViewTypeBase: AsRef<BinaryViewType> {
    // Required method
    fn is_valid_for(&self, data: &BinaryView) -> bool;

    // Provided methods
    fn is_deprecated(&self) -> bool { ... }
    fn is_force_loadable(&self) -> bool { ... }
    fn default_load_settings_for_data(
        &self,
        data: &BinaryView,
    ) -> Option<Ref<Settings>> { ... }
    fn load_settings_for_data(
        &self,
        _data: &BinaryView,
    ) -> Option<Ref<Settings>> { ... }
}

Required Methods§

Source

fn is_valid_for(&self, data: &BinaryView) -> bool

Provided Methods§

Source

fn is_deprecated(&self) -> bool

Source

fn is_force_loadable(&self) -> bool

Source

fn default_load_settings_for_data( &self, data: &BinaryView, ) -> Option<Ref<Settings>>

Source

fn load_settings_for_data(&self, _data: &BinaryView) -> Option<Ref<Settings>>

Implementors§

Source§

impl BinaryViewTypeBase for BinaryViewType