pub enum PreprocessorExtensionBehaviorData {
Require,
Enable,
Warn,
Disable,
}
Expand description
An #extension behavior annotation.
Variants
Require
require
preprocessor extension behavior
Enable
enable
preprocessor extension behavior
Warn
warn
preprocessor extension behavior
Disable
disable
preprocessor extension behavior
Trait Implementations
sourceimpl Clone for PreprocessorExtensionBehaviorData
impl Clone for PreprocessorExtensionBehaviorData
sourcefn clone(&self) -> PreprocessorExtensionBehaviorData
fn clone(&self) -> PreprocessorExtensionBehaviorData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl From<Node<PreprocessorExtensionBehaviorData>> for PreprocessorExtensionBehaviorData
impl From<Node<PreprocessorExtensionBehaviorData>> for PreprocessorExtensionBehaviorData
sourcefn from(
node: Node<PreprocessorExtensionBehaviorData>
) -> PreprocessorExtensionBehaviorData
fn from(
node: Node<PreprocessorExtensionBehaviorData>
) -> PreprocessorExtensionBehaviorData
Converts to this type from the input type.
sourceimpl NodeContent for PreprocessorExtensionBehaviorData
impl NodeContent for PreprocessorExtensionBehaviorData
sourcefn into_node<T>(self) -> Node<T> where
T: From<Self> + NodeContent,
fn into_node<T>(self) -> Node<T> where
T: From<Self> + NodeContent,
Convert the contents into a node
sourcefn spanned(self, start: LexerPosition, end: LexerPosition) -> Node<Self>
fn spanned(self, start: LexerPosition, end: LexerPosition) -> Node<Self>
Add span information to a syntax node
sourceimpl NodeContentDisplay for PreprocessorExtensionBehaviorData
impl NodeContentDisplay for PreprocessorExtensionBehaviorData
impl StructuralPartialEq for PreprocessorExtensionBehaviorData
Auto Trait Implementations
impl RefUnwindSafe for PreprocessorExtensionBehaviorData
impl Send for PreprocessorExtensionBehaviorData
impl Sync for PreprocessorExtensionBehaviorData
impl Unpin for PreprocessorExtensionBehaviorData
impl UnwindSafe for PreprocessorExtensionBehaviorData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> NodeDisplay for T where
T: NodeContentDisplay,
impl<T> NodeDisplay for T where
T: NodeContentDisplay,
sourcefn display(&self) -> NodeDisplayWrapper<'_, T>
fn display(&self) -> NodeDisplayWrapper<'_, T>
Obtain a display wrapper for the current node