Struct debian_analyzer::debcargo::DebcargoEditor
source · pub struct DebcargoEditor { /* private fields */ }Implementations§
source§impl DebcargoEditor
impl DebcargoEditor
pub fn new() -> Self
pub fn open(path: &Path) -> Result<Self, Error>
pub fn from_directory(path: &Path) -> Result<Self, Error>
pub fn commit(&self) -> Result<bool>
pub fn source(&mut self) -> DebcargoSource<'_>
pub fn binaries(&mut self) -> impl Iterator<Item = DebcargoBinary<'_>>
Trait Implementations§
source§impl Default for DebcargoEditor
impl Default for DebcargoEditor
source§impl From<DocumentMut> for DebcargoEditor
impl From<DocumentMut> for DebcargoEditor
source§fn from(doc: DocumentMut) -> Self
fn from(doc: DocumentMut) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DebcargoEditor
impl RefUnwindSafe for DebcargoEditor
impl Send for DebcargoEditor
impl Sync for DebcargoEditor
impl Unpin for DebcargoEditor
impl UnwindSafe for DebcargoEditor
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