pub struct Conform {
pub clauses: &'static [Clause],
}Expand description
An element’s complete conformance — the specification’s “otherwise” chain.
The first clause whose condition holds decides. An element no clause selects is
Conformance::Disallowed: [LT] does not mean “optional, and incidentally there is a
feature”, it means the element may exist only when Lighting does.
Fields§
§clauses: &'static [Clause]The clauses, in the order the specification wrote them.
Implementations§
Source§impl Conform
impl Conform
Sourcepub const DISALLOWED: Self
pub const DISALLOWED: Self
X — disallowed.
Trait Implementations§
impl Copy for Conform
impl Eq for Conform
impl StructuralPartialEq for Conform
Auto Trait Implementations§
impl Forget for Conform
impl Freeze for Conform
impl Move for Conform
impl RefUnwindSafe for Conform
impl Send for Conform
impl Sync for Conform
impl Unpin for Conform
impl UnsafeUnpin for Conform
impl UnwindSafe for Conform
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