pub struct Variant {
pub family: &'static str,
pub variant: &'static str,
pub support: Support,
pub rationale: &'static str,
}Expand description
A variant within a family that is admitted or refused independently.
IMPLEMENTED and PLANNED classify at family granularity, which is
too coarse for families whose support depends on how the instance is
authored. IFCPCURVE is implemented, but only for some reference-curve
forms; a flat “implemented” claim hides the refusals inside it.
Fields§
§family: &'static strThe concrete family this variant belongs to; always in IMPLEMENTED.
variant: &'static strThe distinguishing condition, as a caller would recognize it.
support: SupportWhether this specific variant lowers or is a typed refusal.
rationale: &'static strWhy it is admitted or refused. Refusals name the missing contract.
Trait Implementations§
impl Copy for Variant
impl Eq for Variant
impl StructuralPartialEq for Variant
Auto Trait Implementations§
impl Freeze for Variant
impl RefUnwindSafe for Variant
impl Send for Variant
impl Sync for Variant
impl Unpin for Variant
impl UnsafeUnpin for Variant
impl UnwindSafe for Variant
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