pub struct Feature {
pub name: &'static str,
pub kind: Kind,
pub gcc_version: &'static str,
pub status: Status,
pub answer: Answer,
pub value: u32,
pub used_by: &'static [&'static str],
pub tests: &'static [&'static str],
pub notes: &'static str,
}Expand description
One row of the matrix.
Fields§
§name: &'static strThe spelling asked about, with no __ armour on it.
kind: KindWhich operator answers for it.
gcc_version: &'static strThe GCC release that introduced it.
status: StatusHow far along it is.
answer: AnswerWhat to do when it is met and is not implemented.
value: u32What __has_c_attribute answers with, which the standard fixes per attribute. One for
every other kind, where the operators answer one or nothing.
used_by: &'static [&'static str]Projects known to need it, from the corpus in spec/15-testing.md.
tests: &'static [&'static str]The tests that prove the status, named as crate::test or as a file path.
notes: &'static strAnything a reader needs that the fields above do not say.
Trait Implementations§
impl Copy for Feature
impl Eq for Feature
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnsafeUnpin for Feature
impl UnwindSafe for Feature
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more