[][src]Struct ra_ap_syntax::ast::Static

pub struct Static { /* fields omitted */ }

Implementations

impl Static[src]

pub fn static_token(&self) -> Option<SyntaxToken>[src]

pub fn mut_token(&self) -> Option<SyntaxToken>[src]

pub fn colon_token(&self) -> Option<SyntaxToken>[src]

pub fn ty(&self) -> Option<Type>[src]

pub fn eq_token(&self) -> Option<SyntaxToken>[src]

pub fn body(&self) -> Option<Expr>[src]

pub fn semicolon_token(&self) -> Option<SyntaxToken>[src]

Trait Implementations

impl AstNode for Static[src]

impl AttrsOwner for Static[src]

impl Clone for Static[src]

impl Debug for Static[src]

impl Display for Static[src]

impl DocCommentsOwner for Static[src]

impl Eq for Static[src]

impl From<Static> for Item[src]

impl From<Static> for ExternItem[src]

impl Hash for Static[src]

impl NameOwner for Static[src]

impl PartialEq<Static> for Static[src]

impl StructuralEq for Static[src]

impl StructuralPartialEq for Static[src]

impl VisibilityOwner for Static[src]

Auto Trait Implementations

impl !RefUnwindSafe for Static

impl !Send for Static

impl !Sync for Static

impl Unpin for Static

impl !UnwindSafe for Static

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<N> AstNodeEdit for N where
    N: AstNode + Clone
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.