pub enum DisableLayer {
File,
Block,
Line,
}Expand description
The kind of directive a rule’s disabled state at a line comes from.
The three layers are resolved independently of each other, so removing a comment from one of them leaves the other two answering exactly as before.
Variants§
File
disable-file, or a configure-file entry set to false
Block
disable, up to the enable that closes it
Line
disable-line, disable-next-line or prettier-ignore
Trait Implementations§
Source§impl Clone for DisableLayer
impl Clone for DisableLayer
Source§fn clone(&self) -> DisableLayer
fn clone(&self) -> DisableLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DisableLayer
Source§impl Debug for DisableLayer
impl Debug for DisableLayer
impl Eq for DisableLayer
Source§impl PartialEq for DisableLayer
impl PartialEq for DisableLayer
impl StructuralPartialEq for DisableLayer
Auto Trait Implementations§
impl Freeze for DisableLayer
impl RefUnwindSafe for DisableLayer
impl Send for DisableLayer
impl Sync for DisableLayer
impl Unpin for DisableLayer
impl UnsafeUnpin for DisableLayer
impl UnwindSafe for DisableLayer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.