pub enum PreprocessorVersionProfileData {
Core,
Compatibility,
Es,
}
Expand description
A #version profile annotation.
Variants
Core
core
version profile
Compatibility
compatibility
version profile
Es
es
version profile
Trait Implementations
sourceimpl Clone for PreprocessorVersionProfileData
impl Clone for PreprocessorVersionProfileData
sourcefn clone(&self) -> PreprocessorVersionProfileData
fn clone(&self) -> PreprocessorVersionProfileData
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<PreprocessorVersionProfileData>> for PreprocessorVersionProfileData
impl From<Node<PreprocessorVersionProfileData>> for PreprocessorVersionProfileData
sourcefn from(
node: Node<PreprocessorVersionProfileData>
) -> PreprocessorVersionProfileData
fn from(
node: Node<PreprocessorVersionProfileData>
) -> PreprocessorVersionProfileData
Converts to this type from the input type.
sourceimpl NodeContent for PreprocessorVersionProfileData
impl NodeContent for PreprocessorVersionProfileData
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 PreprocessorVersionProfileData
impl NodeContentDisplay for PreprocessorVersionProfileData
impl StructuralPartialEq for PreprocessorVersionProfileData
Auto Trait Implementations
impl RefUnwindSafe for PreprocessorVersionProfileData
impl Send for PreprocessorVersionProfileData
impl Sync for PreprocessorVersionProfileData
impl Unpin for PreprocessorVersionProfileData
impl UnwindSafe for PreprocessorVersionProfileData
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