pub struct WatchFile(/* private fields */);Expand description
A watch file in format 5 (RFC822/deb822 style)
Implementations§
Source§impl WatchFile
impl WatchFile
Sourcepub fn defaults(&self) -> Option<Paragraph>
pub fn defaults(&self) -> Option<Paragraph>
Returns the defaults paragraph if it exists. The defaults paragraph is the second paragraph (after Version) if it has no Source field.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WatchFile
impl !RefUnwindSafe for WatchFile
impl !Send for WatchFile
impl !Sync for WatchFile
impl Unpin for WatchFile
impl !UnwindSafe for WatchFile
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