1 2 3 4 5 6 7 8 9 10 11 12
/// Part of a version string. pub enum VersionPart<'a> { /// Numeric part. /// Holds the numerical value. Number(i32), /// A text part. /// These parts usually have an unknown definition. /// Holds the string slice. Text(&'a str) }