Enum lib_ruby_parser::source::CommentType [−][src]
pub enum CommentType { Inline, Document, Unknown, }
Enum of all possible comment types
Variants
Inline comment like
# comment
Document comment like
=begin
comment
=end
Uknknown comment type,
most probably means that either Loc
or given Input
is invalid
Trait Implementations
impl Clone for CommentType
[src][+]
impl Debug for CommentType
[src][+]
impl PartialEq<CommentType> for CommentType
[src][+]
impl StructuralPartialEq for CommentType
[src]
Auto Trait Implementations
impl RefUnwindSafe for CommentType
impl Send for CommentType
impl Sync for CommentType
impl Unpin for CommentType
impl UnwindSafe for CommentType
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>,