pub enum Allow<'a> {
Class {
class: &'a str,
property: &'a str,
},
Element {
element: &'a str,
class: &'a str,
property: &'a str,
},
}Expand description
A reviewed exception to Vocabulary: a collision the app has read and
kept, with a note beside it saying why.
It expires when the collision does: an exception that no longer collides
fails the check. It silences the class and element passes only; see
Vocabulary for the cancel pass, which no exception covers.
Variants§
Class
A hand-written rule on a generated class takes one of its properties.
Fields
Element
A bare element rule takes a property the generated sheet sets on a class that element carries.
Implementations§
Trait Implementations§
impl<'a> Copy for Allow<'a>
impl<'a> Eq for Allow<'a>
impl<'a> StructuralPartialEq for Allow<'a>
Auto Trait Implementations§
impl<'a> Forget for Allow<'a>
impl<'a> Freeze for Allow<'a>
impl<'a> Move for Allow<'a>
impl<'a> RefUnwindSafe for Allow<'a>
impl<'a> Send for Allow<'a>
impl<'a> Sync for Allow<'a>
impl<'a> Unpin for Allow<'a>
impl<'a> UnsafeUnpin for Allow<'a>
impl<'a> UnwindSafe for Allow<'a>
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