(&self)
| 236 | |
| 237 | #[getter] |
| 238 | fn architecture(&self) -> Option<crate::types::system::ElfArchitectureFormat> { |
| 239 | use alpm_types::SonameV1::{Basic, Explicit, Unversioned}; |
| 240 | match self.0 { |
| 241 | Basic(_) => None, |
| 242 | Explicit { architecture, .. } | Unversioned { architecture, .. } => { |
| 243 | Some(architecture.into()) |
| 244 | } |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | #[getter] |
| 249 | fn form(&self) -> SonameV1Type { |