Struct binaryninja::filemetadata::FileMetadata
[−]pub struct FileMetadata { /* private fields */ }
Implementations
impl FileMetadata
impl FileMetadata
pub fn new() -> Ref<Self>
pub fn with_filename<S: BnStrCompatible>(name: S) -> Ref<Self>
pub fn close(&self)
pub fn filename(&self) -> BnString
pub fn set_filename<S: BnStrCompatible>(&self, name: S)
pub fn modified(&self) -> bool
pub fn mark_modified(&self)
pub fn mark_saved(&self)
pub fn is_analysis_changed(&self) -> bool
pub fn is_database_backed<S: BnStrCompatible>(&self, view_type: S) -> bool
pub fn run_undoable_transaction<F: FnOnce() -> Result<T, E>, T, E>(
&self,
func: F
) -> Result<T, E>
pub fn begin_undo_actions(&self, anonymous_allowed: bool) -> BnString
pub fn commit_undo_actions<S: BnStrCompatible>(&self, id: S)
pub fn revert_undo_actions<S: BnStrCompatible>(&self, id: S)
pub fn undo(&self)
pub fn redo(&self)
pub fn current_view(&self) -> BnString
pub fn current_offset(&self) -> u64
pub fn get_view_of_type<S: BnStrCompatible>(
&self,
view: S
) -> Result<Ref<BinaryView>, ()>
pub fn create_database<S: BnStrCompatible>(&self, filename: S) -> bool
pub fn save_auto_snapshot(&self) -> bool
pub fn open_database_for_configuration<S: BnStrCompatible>(
&self,
filename: S
) -> Result<Ref<BinaryView>, ()>
pub fn open_database<S: BnStrCompatible>(
&self,
filename: S
) -> Result<Ref<BinaryView>, ()>
pub fn open_project(&self) -> bool
pub fn close_project(&self)
pub fn is_project_open(&self) -> bool
Trait Implementations
impl Hash for FileMetadata
impl Hash for FileMetadata
impl PartialEq<FileMetadata> for FileMetadata
impl PartialEq<FileMetadata> for FileMetadata
fn eq(&self, other: &FileMetadata) -> bool
fn eq(&self, other: &FileMetadata) -> bool
impl RefCountable for FileMetadata
impl RefCountable for FileMetadata
impl ToOwned for FileMetadata
impl ToOwned for FileMetadata
type Owned = Ref<FileMetadata>
type Owned = Ref<FileMetadata>
The resulting type after obtaining ownership.
fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Eq for FileMetadata
impl Send for FileMetadata
impl StructuralEq for FileMetadata
impl StructuralPartialEq for FileMetadata
impl Sync for FileMetadata
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