Struct binaryninja::settings::Settings
source · pub struct Settings { /* private fields */ }
Implementations§
source§impl Settings
impl Settings
pub fn new<S: BnStrCompatible>(instance_id: S) -> Ref<Self>
pub fn set_resource_id<S: BnStrCompatible>(&self, resource_id: S)
pub fn serialize_schema(&self) -> BnString
pub fn deserialize_schema<S: BnStrCompatible>(&self, schema: S) -> bool
pub fn contains<S: BnStrCompatible>(&self, key: S) -> bool
pub fn get_bool<S: BnStrCompatible>( &self, key: S, view: Option<&BinaryView>, scope: Option<Box<SettingsScope>> ) -> bool
pub fn get_double<S: BnStrCompatible>( &self, key: S, view: Option<&BinaryView>, scope: Option<Box<SettingsScope>> ) -> f64
pub fn get_integer<S: BnStrCompatible>( &self, key: S, view: Option<&BinaryView>, scope: Option<Box<SettingsScope>> ) -> u64
pub fn get_string<S: BnStrCompatible>( &self, key: S, view: Option<&BinaryView>, scope: Option<Box<SettingsScope>> ) -> BnString
pub fn get_string_list<S: BnStrCompatible>( &self, key: S, view: Option<&BinaryView>, scope: Option<Box<SettingsScope>> ) -> Array<BnString>
pub fn get_json<S: BnStrCompatible>( &self, key: S, view: Option<&BinaryView>, scope: Option<Box<SettingsScope>> ) -> BnString
pub fn set_bool<S: BnStrCompatible>( &self, key: S, value: bool, view: Option<&BinaryView>, scope: Option<SettingsScope> )
pub fn set_double<S: BnStrCompatible>( &self, key: S, value: f64, view: Option<&BinaryView>, scope: Option<SettingsScope> )
pub fn set_integer<S: BnStrCompatible>( &self, key: S, value: u64, view: Option<&BinaryView>, scope: Option<SettingsScope> )
pub fn set_string<S1: BnStrCompatible, S2: BnStrCompatible>( &self, key: S1, value: S2, view: Option<&BinaryView>, scope: Option<SettingsScope> )
pub fn set_string_list<S1: BnStrCompatible, S2: BnStrCompatible, I: Iterator<Item = S2>>( &self, key: S1, value: I, view: Option<&BinaryView>, scope: Option<SettingsScope> ) -> bool
pub fn set_json<S1: BnStrCompatible, S2: BnStrCompatible>( &self, key: S1, value: S2, view: Option<&BinaryView>, scope: Option<SettingsScope> ) -> bool
pub fn update_bool_property<S: BnStrCompatible>( &self, key: S, property: S, value: bool )
pub fn update_integer_property<S: BnStrCompatible>( &self, key: S, property: S, value: u64 )
pub fn update_double_property<S: BnStrCompatible>( &self, key: S, property: S, value: f64 )
pub fn update_string_property<S: BnStrCompatible>( &self, key: S, property: S, value: S )
pub fn update_string_list_property<S: BnStrCompatible, I: Iterator<Item = S>>( &self, key: S, property: S, value: I )
pub fn register_group<S1: BnStrCompatible, S2: BnStrCompatible>( &self, group: S1, title: S2 ) -> bool
pub fn register_setting_json<S1: BnStrCompatible, S2: BnStrCompatible>( &self, group: S1, properties: S2 ) -> bool
Trait Implementations§
source§impl PartialEq for Settings
impl PartialEq for Settings
source§impl ToOwned for Settings
impl ToOwned for Settings
impl Eq for Settings
impl Send for Settings
impl StructuralPartialEq for Settings
impl Sync for Settings
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