MCPcopy Create free account
hub / github.com/archlinux/alpm / ArchProperty

Class ArchProperty

alpm-srcinfo/src/source_info/parser.rs:124–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122/// # }
123/// ```
124///
125/// [alpm-architecture]: <https://alpm.archlinux.page/specifications/alpm-architecture.7.html>
126#[derive(Debug)]
127pub struct ArchProperty<T> {
128 /// The optional [alpm-architecture] of the `value`.
129 ///
130 /// If `architecture` is [`None`] it is considered to be `"any"`.
131 /// [alpm-architecture]: <https://alpm.archlinux.page/specifications/alpm-architecture.7.html>
132 pub architecture: Option<Architecture>,
133 /// The architecture specific type.
134 pub value: T,
135}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected