Struct ra_ap_base_db::FileId[][src]

pub struct FileId(pub u32);

Handle to a file in Vfs

Most functions in rust-analyzer use this when they need to refer to a file.

Trait Implementations

impl Clone for FileId[src]

impl Copy for FileId[src]

impl Debug for FileId[src]

impl Eq for FileId[src]

impl Hash for FileId[src]

impl Ord for FileId[src]

impl PartialEq<FileId> for FileId[src]

impl PartialOrd<FileId> for FileId[src]

impl StructuralEq for FileId[src]

impl StructuralPartialEq for FileId[src]

Auto Trait Implementations

impl RefUnwindSafe for FileId

impl Send for FileId

impl Sync for FileId

impl Unpin for FileId

impl UnwindSafe for FileId

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.