Struct binaryninja::settings::Settings
[−]pub struct Settings { /* private fields */ }
Implementations
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 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
impl RefCountable for Settings
impl RefCountable for Settings
impl ToOwned for Settings
impl ToOwned for Settings
impl Eq for Settings
impl Send for Settings
impl StructuralEq for Settings
impl StructuralPartialEq for Settings
impl Sync for Settings
Auto Trait Implementations
Blanket Implementations
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