Returns a reference to the [`FullVersion`]. # Examples ``` use std::str::FromStr; use alpm_types::{FullVersion, InstalledPackage}; # fn main() -> Result<(), alpm_types::Error> { let file_name = InstalledPackage::new("example".parse()?, "1:1.0.0-1".parse()?, "x86_64".parse()?); assert_eq!(file_name.version(), &FullVersion::from_str("1:1.0.0-1")?); # Ok(()) # } ```
(&self)
| 558 | /// Returns a reference to the [`Name`]. |
| 559 | /// |
| 560 | /// # Examples |
| 561 | /// |
| 562 | /// ``` |
| 563 | /// use std::str::FromStr; |
| 564 | /// |
| 565 | /// use alpm_types::{InstalledPackage, Name}; |
nothing calls this directly
no outgoing calls
no test coverage detected