[][src]Enum clang::EvaluationResult

pub enum EvaluationResult {
    Unexposed,
    SignedInteger(i64),
    UnsignedInteger(u64),
    Float(f64),
    String(CString),
    ObjCString(CString),
    CFString(CString),
    Other(CString),
}

The result of evaluating an expression.

Variants

Unexposed

An evaluation result whose specific type is not exposed via this interface.

SignedInteger(i64)

A signed integer evaluation result.

UnsignedInteger(u64)

An unsigned integer evaluation result.

Only produced by libclang 4.0 and later. Earlier versions will always return SignedInteger for integers.

Float(f64)

A floating point number evaluation result.

String(CString)

A string literal evaluation result.

ObjCString(CString)

An Objective-C string literal evaluation result.

CFString(CString)

An Objective-C CFString evaluation result.

Other(CString)

Any other evaluation result whose value can be represented by a string.

Trait Implementations

impl Clone for EvaluationResult[src]

impl Debug for EvaluationResult[src]

impl PartialEq<EvaluationResult> for EvaluationResult[src]

impl StructuralPartialEq for EvaluationResult[src]

Auto Trait Implementations

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.