[][src]Struct moore_svlog::mir::Ref

pub struct Ref<'a, T>(_);

An MIR node reference

This reference is useful when querying the compiler database for information about an MIR node. It compares the reference by pointer address, thus allowing for pessimistic compiler queries.

Trait Implementations

impl<'a, T: Clone> Clone for Ref<'a, T>[src]

impl<'a, T: Copy> Copy for Ref<'a, T>[src]

impl<'_, T> Debug for Ref<'_, T> where
    T: Debug
[src]

impl<'a, T> Deref for Ref<'a, T>[src]

type Target = &'a T

The resulting type after dereferencing.

impl<'_, T> Display for Ref<'_, T> where
    T: Display
[src]

impl<'_, T> Eq for Ref<'_, T>[src]

impl<'a, T> From<&'a T> for Ref<'a, T>[src]

impl<'_, T> Hash for Ref<'_, T>[src]

impl<'_, T> PartialEq<Ref<'_, T>> for Ref<'_, T>[src]

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for Ref<'a, T> where
    T: RefUnwindSafe

impl<'a, T> Send for Ref<'a, T> where
    T: Sync

impl<'a, T> Sync for Ref<'a, T> where
    T: Sync

impl<'a, T> Unpin for Ref<'a, T>

impl<'a, T> UnwindSafe for Ref<'a, T> where
    T: RefUnwindSafe

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> Erased for T

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.