Struct z3tracer::syntax::Ident[][src]

pub struct Ident {
    pub namespace: Option<String>,
    pub id: Option<u64>,
    pub version: usize,
}

An identifier such as #45 or foo#23.

  • Namespace-only identifiers such as foo# are also allowed for Z3 primitive objects.
  • # is used for true and false literals.
  • An implicit version number is added to disambiguate identifiers re-used by Z3.

Fields

namespace: Option<String>id: Option<u64>version: usize

Implementations

impl Ident[src]

pub fn is_empty(&self) -> bool[src]

Whether an identifier is the special empty value.

Trait Implementations

impl Clone for Ident[src]

impl Debug for Ident[src]

impl Default for Ident[src]

impl Eq for Ident[src]

impl FromStr for Ident[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for Ident[src]

impl Ord for Ident[src]

impl PartialEq<Ident> for Ident[src]

impl PartialOrd<Ident> for Ident[src]

impl StructuralEq for Ident[src]

impl StructuralPartialEq for Ident[src]

impl<'a, F, E> Visitor<'a, F, E> for Ident where
    F: FnMut(&'a Ident) -> Result<(), E>, 
[src]

Auto Trait Implementations

impl RefUnwindSafe for Ident

impl Send for Ident

impl Sync for Ident

impl Unpin for Ident

impl UnwindSafe for Ident

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> 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.