pub enum PreprocessorExtensionBehavior {
Require,
Enable,
Warn,
Disable,
}
Expand description
An #extension behavior annotation.
Variants§
Trait Implementations§
source§impl Clone for PreprocessorExtensionBehavior
impl Clone for PreprocessorExtensionBehavior
source§fn clone(&self) -> PreprocessorExtensionBehavior
fn clone(&self) -> PreprocessorExtensionBehavior
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Host for PreprocessorExtensionBehavior
impl Host for PreprocessorExtensionBehavior
source§impl HostMut for PreprocessorExtensionBehavior
impl HostMut for PreprocessorExtensionBehavior
source§fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
Visit an AST node.
source§impl PartialEq for PreprocessorExtensionBehavior
impl PartialEq for PreprocessorExtensionBehavior
source§fn eq(&self, other: &PreprocessorExtensionBehavior) -> bool
fn eq(&self, other: &PreprocessorExtensionBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PreprocessorExtensionBehavior
Auto Trait Implementations§
impl RefUnwindSafe for PreprocessorExtensionBehavior
impl Send for PreprocessorExtensionBehavior
impl Sync for PreprocessorExtensionBehavior
impl Unpin for PreprocessorExtensionBehavior
impl UnwindSafe for PreprocessorExtensionBehavior
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