Struct ClangVersion
struct ClangVersion { ... }
Extracted Clang version data
Fields
parsed: Option<(u32, u32)>Major and minor semver, if parsing was successful
full: Stringfull version string
Implementations
impl Debug for ClangVersion
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Freeze for ClangVersion
impl RefUnwindSafe for ClangVersion
impl Send for ClangVersion
impl Sync for ClangVersion
impl Unpin for ClangVersion
impl UnwindSafe for ClangVersion
impl<T> Any for ClangVersion
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for ClangVersion
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for ClangVersion
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for ClangVersion
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for ClangVersion
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for ClangVersion
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for ClangVersion
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>