pub enum ClearableProperty {
Show 13 variants
Description,
Url,
Licenses,
Changelog,
Install,
Groups,
Options,
Backups,
Dependencies(Option<Architecture>),
OptionalDependencies(Option<Architecture>),
Provides(Option<Architecture>),
Conflicts(Option<Architecture>),
Replaces(Option<Architecture>),
}Expand description
Properties used in pkgname sections that can be cleared.
Some variants of this enum are architecture-specific, as they might only be cleared for a specific architecture, but not for another.
Clearing a keyword in SRCINFO data is achieved by an empty keyword assignment, e.g.:
depends =Variants§
Description
Url
Licenses
Changelog
Install
Groups
Options
Backups
Dependencies(Option<Architecture>)
OptionalDependencies(Option<Architecture>)
Provides(Option<Architecture>)
Conflicts(Option<Architecture>)
Replaces(Option<Architecture>)
Trait Implementations§
Source§impl Clone for ClearableProperty
impl Clone for ClearableProperty
Source§fn clone(&self) -> ClearableProperty
fn clone(&self) -> ClearableProperty
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClearableProperty
impl RefUnwindSafe for ClearableProperty
impl Send for ClearableProperty
impl Sync for ClearableProperty
impl Unpin for ClearableProperty
impl UnwindSafe for ClearableProperty
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