pub struct RawPackage {
pub name: Name,
pub properties: Vec<PackageProperty>,
}
Expand description
The parsed contents of a pkgname
section in SRCINFO data.
Fields§
§name: Name
§properties: Vec<PackageProperty>
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.
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