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”:
~~~~~~~~value_l: LocLocation of the “value”:
~~~~~Implementations
Constructor
Returns kind of the of the MagicComment
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 MagicComment
impl Send for MagicComment
impl Sync for MagicComment
impl Unpin for MagicComment
impl UnwindSafe for MagicComment
Blanket Implementations
Mutably borrows from an owned value. Read more