[−][src]Struct leo_ast::common::identifier::Identifier
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.
Fields
name: String
span: Span
Implementations
impl Identifier
[src]
pub fn new(name: String) -> Self
[src]
pub fn new_with_span(name: &str, span: &Span) -> Self
[src]
pub fn is_self_type(&self) -> bool
[src]
pub fn is_self(&self) -> bool
[src]
Trait Implementations
impl Clone for Identifier
[src]
pub fn clone(&self) -> Identifier
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Identifier
[src]
impl<'de> Deserialize<'de> for Identifier
[src]
pub fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<Self, D::Error>
[src]
deserializer: D
) -> Result<Self, D::Error>
impl Display for Identifier
[src]
impl Eq for Identifier
[src]
impl<'ast> From<AnnotationArgument<'ast>> for Identifier
[src]
pub fn from(argument: AnnotationArgument<'ast>) -> Self
[src]
impl<'ast> From<CircuitName<'ast>> for Identifier
[src]
pub fn from(name: CircuitName<'ast>) -> Self
[src]
impl<'ast> From<Identifier<'ast>> for Identifier
[src]
pub fn from(identifier: GrammarIdentifier<'ast>) -> Self
[src]
impl<'ast> From<Identifier<'ast>> for Identifier
[src]
pub fn from(identifier: InputIdentifier<'ast>) -> Self
[src]
impl<'ast> From<InputKeyword<'ast>> for Identifier
[src]
pub fn from(grammar: GrammarInputKeyword<'ast>) -> Self
[src]
impl From<InputKeyword> for Identifier
[src]
pub fn from(keyword: InputKeyword) -> Self
[src]
impl<'ast> From<KeywordOrIdentifier<'ast>> for Identifier
[src]
pub fn from(name: KeywordOrIdentifier<'ast>) -> Self
[src]
impl<'ast> From<MutSelfKeyword<'ast>> for Identifier
[src]
pub fn from(grammar: GrammarMutSelfKeyword<'ast>) -> Self
[src]
impl From<MutSelfKeyword> for Identifier
[src]
pub fn from(keyword: MutSelfKeyword) -> Self
[src]
impl<'ast> From<PackageName<'ast>> for Identifier
[src]
pub fn from(name: GrammarPackageName<'ast>) -> Self
[src]
impl<'ast> From<SelfKeyword<'ast>> for Identifier
[src]
pub fn from(grammar: GrammarSelfKeyword<'ast>) -> Self
[src]
impl From<SelfKeyword> for Identifier
[src]
pub fn from(keyword: SelfKeyword) -> Self
[src]
impl<'ast> From<SelfKeywordOrIdentifier<'ast>> for Identifier
[src]
pub fn from(name: SelfKeywordOrIdentifier<'ast>) -> Self
[src]
impl<'ast> From<SelfType<'ast>> for Identifier
[src]
impl Hash for Identifier
[src]
pub fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Identifier> for Identifier
[src]
pub fn eq(&self, other: &Self) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for Identifier
[src]
Auto Trait Implementations
impl RefUnwindSafe for Identifier
[src]
impl Send for Identifier
[src]
impl Sync for Identifier
[src]
impl Unpin for Identifier
[src]
impl UnwindSafe for Identifier
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,