[][src]Enum isla_lib::ir::Loc

pub enum Loc<A> {
    Id(A),
    Field(Box<Loc<A>>, A),
    Addr(Box<Loc<A>>),
}

A Loc is a location that can be assigned to.

Variants

Id(A)
Field(Box<Loc<A>>, A)
Addr(Box<Loc<A>>)

Implementations

impl<A: Clone> Loc<A>[src]

pub fn id(&self) -> A[src]

pub fn id_mut(&mut self) -> &mut A[src]

Trait Implementations

impl<A: Clone> Clone for Loc<A>[src]

impl<A: Debug> Debug for Loc<A>[src]

impl<'de, A> Deserialize<'de> for Loc<A> where
    A: Deserialize<'de>, 
[src]

impl<A> Serialize for Loc<A> where
    A: Serialize
[src]

Auto Trait Implementations

impl<A> RefUnwindSafe for Loc<A> where
    A: RefUnwindSafe

impl<A> Send for Loc<A> where
    A: Send

impl<A> Sync for Loc<A> where
    A: Sync

impl<A> Unpin for Loc<A> where
    A: Unpin

impl<A> UnwindSafe for Loc<A> where
    A: UnwindSafe

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<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.