Struct lib_ruby_parser::source::MagicComment [−][src]
#[repr(C)]pub struct MagicComment { pub kind: MagicCommentKind, pub key_l: Loc, pub value_l: Loc, }
Expand description
Representation of a magic comment in Ruby
Fields
kind: MagicCommentKindKind of a magic comment
key_l: LocLocation of the “key”:
# encoding: utf-8
~~~~~~~~
value_l: LocLocation of the “value”:
# encoding: utf-8
~~~~~
Implementations
Constructor
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MagicCommentimpl Send for MagicCommentimpl Sync for MagicCommentimpl Unpin for MagicCommentimpl UnwindSafe for MagicCommentBlanket Implementations
Mutably borrows from an owned value. Read more