Enum lib_ruby_parser::source::MagicCommentKind [−][src]
pub enum MagicCommentKind { Encoding, FrozenStringLiteral, WarnIndent, ShareableContstantValue, }
An enum of all magic comment kinds
Variants
# encoding: ... comment
# frozen_string_literal: true/false
comment
# warn_ident: true/false
comment
# shareable_constant_value: ...
comment
Trait Implementations
impl Clone for MagicCommentKind
[src][+]
impl Debug for MagicCommentKind
[src][+]
impl PartialEq<MagicCommentKind> for MagicCommentKind
[src][+]
impl StructuralPartialEq for MagicCommentKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for MagicCommentKind
impl Send for MagicCommentKind
impl Sync for MagicCommentKind
impl Unpin for MagicCommentKind
impl UnwindSafe for MagicCommentKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,