Struct debian_analyzer::editor::FsEditor
source · pub struct FsEditor<P: Marshallable> { /* private fields */ }Implementations§
Trait Implementations§
source§impl<M: Marshallable> DerefMut for FsEditor<M>
impl<M: Marshallable> DerefMut for FsEditor<M>
source§impl<P: Marshallable> Editor<P> for FsEditor<P>
impl<P: Marshallable> Editor<P> for FsEditor<P>
source§fn orig_content(&self) -> Option<&[u8]>
fn orig_content(&self) -> Option<&[u8]>
The original content, if any - without reformatting
source§fn rewritten_content(&self) -> Option<&[u8]>
fn rewritten_content(&self) -> Option<&[u8]>
The original content, but rewritten with our parser/serializer
fn is_generated(&self) -> bool
source§fn has_changed(&self) -> bool
fn has_changed(&self) -> bool
Whether the file has changed
Auto Trait Implementations§
impl<P> Freeze for FsEditor<P>where
P: Freeze,
impl<P> RefUnwindSafe for FsEditor<P>where
P: RefUnwindSafe,
impl<P> Send for FsEditor<P>where
P: Send,
impl<P> Sync for FsEditor<P>where
P: Sync,
impl<P> Unpin for FsEditor<P>where
P: Unpin,
impl<P> UnwindSafe for FsEditor<P>where
P: UnwindSafe,
Blanket Implementations§
source§impl<E> AbstractControlEditor for E
impl<E> AbstractControlEditor for E
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