Enum lib_ruby_parser::source::MagicCommentKind [−][src]
#[repr(C)] pub enum MagicCommentKind { Encoding, FrozenStringLiteral, WarnIndent, ShareableContstantValue, }
Expand description
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
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
Mutably borrows from an owned value. Read more