pub struct ParsedSrcinfoBaseSection<'a> { /* private fields */ }Expand description
Parsed information of a pkgbase section.
Implementations§
Source§impl<'a> ParsedSrcinfoBaseSection<'a>
impl<'a> ParsedSrcinfoBaseSection<'a>
Sourcepub fn checksums(
&self,
) -> impl Iterator<Item = (ChecksumValue<'a>, Option<Architecture<'a>>)> + '_
pub fn checksums( &self, ) -> impl Iterator<Item = (ChecksumValue<'a>, Option<Architecture<'a>>)> + '_
List checksums of all ChecksumType.
Source§impl<'a> ParsedSrcinfoBaseSection<'a>
impl<'a> ParsedSrcinfoBaseSection<'a>
Sourcepub fn shrink_to_fit(&mut self)
pub fn shrink_to_fit(&mut self)
Shrink all internal containers’ capacities to fit.
pub fn base_name(&self) -> Option<Base<'a>>
pub fn epoch(&self) -> Option<Epoch<'a>>
pub fn release(&self) -> Option<Release<'a>>
pub fn version(&self) -> Option<UpstreamVersion<'a>>
pub fn valid_pgp_keys(&self) -> &[PgpKey<'a>]
pub fn description(&self) -> Option<Description<'a>>
pub fn change_log(&self) -> Option<ChangeLog<'a>>
pub fn install_script(&self) -> Option<FileName<'a>>
pub fn url(&self) -> Option<Url<'a>>
pub fn architecture(&self) -> &[Architecture<'a>]
pub fn backup(&self) -> &[FilePath<'a>]
pub fn groups(&self) -> &[Group<'a>]
pub fn license(&self) -> &[License<'a>]
pub fn no_extract(&self) -> &[FileName<'a>]
pub fn options(&self) -> &[BuildOption<'a>]
pub fn source(&self) -> &[(Source<'a>, Option<Architecture<'a>>)]
pub fn dependencies(&self) -> &[(Dependency<'a>, Option<Architecture<'a>>)]
pub fn make_dependencies(&self) -> &[(Dependency<'a>, Option<Architecture<'a>>)]
pub fn check_dependencies( &self, ) -> &[(Dependency<'a>, Option<Architecture<'a>>)]
pub fn opt_dependencies( &self, ) -> &[(DependencyAndReason<'a>, Option<Architecture<'a>>)]
pub fn provides(&self) -> &[(Dependency<'a>, Option<Architecture<'a>>)]
pub fn conflicts(&self) -> &[(Dependency<'a>, Option<Architecture<'a>>)]
pub fn replaces(&self) -> &[(Dependency<'a>, Option<Architecture<'a>>)]
pub fn md5_checksums(&self) -> &[(SkipOrHex128<'a>, Option<Architecture<'a>>)]
pub fn sha1_checksums(&self) -> &[(SkipOrHex160<'a>, Option<Architecture<'a>>)]
pub fn sha224_checksums( &self, ) -> &[(SkipOrHex224<'a>, Option<Architecture<'a>>)]
pub fn sha256_checksums( &self, ) -> &[(SkipOrHex256<'a>, Option<Architecture<'a>>)]
pub fn sha384_checksums( &self, ) -> &[(SkipOrHex384<'a>, Option<Architecture<'a>>)]
pub fn sha512_checksums( &self, ) -> &[(SkipOrHex512<'a>, Option<Architecture<'a>>)]
pub fn blake2b_checksums( &self, ) -> &[(SkipOrHex512<'a>, Option<Architecture<'a>>)]
Trait Implementations§
Source§impl<'a> Clone for ParsedSrcinfoBaseSection<'a>
impl<'a> Clone for ParsedSrcinfoBaseSection<'a>
Source§fn clone(&self) -> ParsedSrcinfoBaseSection<'a>
fn clone(&self) -> ParsedSrcinfoBaseSection<'a>
Returns a duplicate 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 moreSource§impl<'a> Debug for ParsedSrcinfoBaseSection<'a>
impl<'a> Debug for ParsedSrcinfoBaseSection<'a>
Source§impl<'a> Default for ParsedSrcinfoBaseSection<'a>
impl<'a> Default for ParsedSrcinfoBaseSection<'a>
Source§fn default() -> ParsedSrcinfoBaseSection<'a>
fn default() -> ParsedSrcinfoBaseSection<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ParsedSrcinfoBaseSection<'a>
impl<'a> RefUnwindSafe for ParsedSrcinfoBaseSection<'a>
impl<'a> Send for ParsedSrcinfoBaseSection<'a>
impl<'a> Sync for ParsedSrcinfoBaseSection<'a>
impl<'a> Unpin for ParsedSrcinfoBaseSection<'a>
impl<'a> UnwindSafe for ParsedSrcinfoBaseSection<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<X> Pipe for X
impl<X> Pipe for X
Source§fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
Source§fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
Source§fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait AsRef<Param>. Read moreSource§fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return
fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait AsMut<Param>. Read moreSource§fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait Deref<Target = Param>. Read moreSource§fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait DerefMut<Target = Param>. Read moreSource§fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait Borrow<Param>. Read moreSource§fn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Return
fn pipe_borrow_mut<'a, Param, Return, Function>( &'a mut self, f: Function, ) -> Return
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait BorrowMut<Param>. Read more