pub enum PackageProperty {
EmptyLine,
Comment(String),
MetaProperty(SharedMetaProperty),
RelationProperty(RelationProperty),
Clear(ClearableProperty),
}Expand description
All possible properties of a pkgname section in SRCINFO data.
It’s very similar to RawPackageBase, but with less fields and the possibility to explicitly
set some fields to “empty”.
Variants§
EmptyLine
An empty line.
Comment(String)
A commented line.
MetaProperty(SharedMetaProperty)
RelationProperty(RelationProperty)
Clear(ClearableProperty)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PackageProperty
impl RefUnwindSafe for PackageProperty
impl Send for PackageProperty
impl Sync for PackageProperty
impl Unpin for PackageProperty
impl UnwindSafe for PackageProperty
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