Struct leo_asg::Identifier[][src]

pub struct Identifier {
    pub name: Tendril<UTF8, NonAtomic>,
    pub span: Span,

An identifier in the constrained program.

Attention - When adding or removing fields from this struct, please remember to update it’s Serialize and Deserialize implementation to reflect the new struct instantiation.


name: Tendril<UTF8, NonAtomic>span: Span


impl Identifier[src]

pub fn new(name: Tendril<UTF8, NonAtomic>) -> Identifier[src]

pub fn new_with_span(name: &str, span: Span) -> Identifier[src]

Trait Implementations

impl Clone for Identifier[src]

impl Debug for Identifier[src]

impl<'de> Deserialize<'de> for Identifier[src]

impl Display for Identifier[src]

impl Eq for Identifier[src]

impl<'ast> From<Identifier<'ast>> for Identifier[src]

impl Hash for Identifier[src]

impl<'a> Into<Identifier> for &VariableRef<'a>[src]

impl Node for Identifier[src]

impl PartialEq<Identifier> for Identifier[src]

impl Serialize for Identifier[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.