Struct debian_packaging::source_package_control::SourceControlFile [−][src]
pub struct SourceControlFile<'a> { /* fields omitted */ }Expand description
Represents a debian/control file.
Specified at https://www.debian.org/doc/debian-policy/ch-controlfields.html#source-package-control-files-debian-control.
Implementations
pub fn from_paragraphs(
paragraphs: impl Iterator<Item = ControlParagraph<'a>>
) -> Result<Self>
pub fn from_paragraphs(
paragraphs: impl Iterator<Item = ControlParagraph<'a>>
) -> Result<Self>
Construct an instance from an iterable of ControlParagraph.
Construct an instance by parsing a control file from a reader.
Obtain a handle on the general paragraph.
Obtain an iterator over paragraphs defining binaries.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for SourceControlFile<'a>
impl<'a> Send for SourceControlFile<'a>
impl<'a> Sync for SourceControlFile<'a>
impl<'a> Unpin for SourceControlFile<'a>
impl<'a> UnwindSafe for SourceControlFile<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
