[−][src]Enum fuzzy_pickles::ast::Attribute
Variants
DocCommentLine(Extent)
DocCommentBlock(Extent)
Literal(AttributeLiteral)
Implementations
impl Attribute
[src]
pub fn into_doc_comment_line(self) -> Option<Extent>
[src]
pub fn into_doc_comment_block(self) -> Option<Extent>
[src]
pub fn into_literal(self) -> Option<AttributeLiteral>
[src]
pub fn as_doc_comment_line(&self) -> Option<&Extent>
[src]
pub fn as_doc_comment_block(&self) -> Option<&Extent>
[src]
pub fn as_literal(&self) -> Option<&AttributeLiteral>
[src]
pub fn is_doc_comment_line(&self) -> bool
[src]
pub fn is_doc_comment_block(&self) -> bool
[src]
pub fn is_literal(&self) -> bool
[src]
Trait Implementations
impl Debug for Attribute
[src]
impl HasExtent for Attribute
[src]
impl<'a> Index<&'a Attribute> for str
[src]
type Output = str
The returned type after indexing.
fn index(&self, i: &'a Attribute) -> &Self::Output
[src]
impl Index<Attribute> for str
[src]
type Output = str
The returned type after indexing.
fn index(&self, i: Attribute) -> &Self::Output
[src]
impl Visit for Attribute
[src]
Auto Trait Implementations
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,