pub struct RawPackage {
    pub name: Name,
    pub properties: Vec<PackageProperty>,
}Expand description
The parsed contents of a pkgname section in SRCINFO data.
Fields§
§name: NameThe name of the pkgname section.
properties: Vec<PackageProperty>The properties of the pkgname section.
Implementations§
Source§impl RawPackage
 
impl RawPackage
Sourcefn parser(input: &mut &str) -> ModalResult<RawPackage>
 
fn parser(input: &mut &str) -> ModalResult<RawPackage>
Recognizes an entire single pkgname section in SRCINFO data.
§Note
This parser expects the cursor to directly start at the pkgname keyword.
This means that the caller must trim any leading newlines or whitespaces.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawPackage
impl RefUnwindSafe for RawPackage
impl Send for RawPackage
impl Sync for RawPackage
impl Unpin for RawPackage
impl UnwindSafe for RawPackage
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