[][src]Struct ra_ap_hir_expand::ast_id_map::FileAstId

pub struct FileAstId<N: AstNode> { /* fields omitted */ }

AstId points to an AST node in a specific file.

Implementations

impl<N: AstNode> FileAstId<N>[src]

pub fn upcast<M: AstNode>(self) -> FileAstId<M> where
    N: Into<M>, 
[src]

Trait Implementations

impl<N: AstNode> Clone for FileAstId<N>[src]

impl<N: AstNode> Copy for FileAstId<N>[src]

impl<N: AstNode> Debug for FileAstId<N>[src]

impl<N: AstNode> Eq for FileAstId<N>[src]

impl<N: AstNode> Hash for FileAstId<N>[src]

impl<N: AstNode> PartialEq<FileAstId<N>> for FileAstId<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for FileAstId<N>

impl<N> Send for FileAstId<N>

impl<N> Sync for FileAstId<N>

impl<N> Unpin for FileAstId<N>

impl<N> UnwindSafe for FileAstId<N>

Blanket Implementations

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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, 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.