[−][src]Struct z3::ast::Dynamic
A dynamically typed Ast
node.
Implementations
impl<'ctx> Dynamic<'ctx>
[src]
pub fn from_ast(ast: &impl Ast<'ctx>) -> Self
[src]
pub fn as_bool(&self) -> Option<Bool<'ctx>>
[src]
Returns None
if the Dynamic
is not actually a Bool
pub fn as_int(&self) -> Option<Int<'ctx>>
[src]
Returns None
if the Dynamic
is not actually an Int
pub fn as_real(&self) -> Option<Real<'ctx>>
[src]
Returns None
if the Dynamic
is not actually a Real
pub fn as_string(&self) -> Option<String<'ctx>>
[src]
Returns None
if the Dynamic
is not actually a String
pub fn as_bv(&self) -> Option<BV<'ctx>>
[src]
Returns None
if the Dynamic
is not actually a BV
pub fn as_array(&self) -> Option<Array<'ctx>>
[src]
Returns None
if the Dynamic
is not actually an Array
pub fn as_datatype(&self) -> Option<Datatype<'ctx>>
[src]
Trait Implementations
impl<'ctx> Ast<'ctx> for Dynamic<'ctx>
[src]
fn new(ctx: &'ctx Context, ast: Z3_ast) -> Self
[src]
fn get_ctx(&self) -> &'ctx Context
[src]
fn get_z3_ast(&self) -> Z3_ast
[src]
fn _eq(&self, other: &Self) -> Bool<'ctx>
[src]
fn distinct(&self, other: &[&Self]) -> Bool<'ctx>
[src]
fn get_sort(&self) -> Sort<'ctx>
[src]
fn simplify(&self) -> Self
[src]
fn substitute<T: Ast<'ctx>>(&self, substitutions: &[(&T, &T)]) -> Self
[src]
impl<'ctx> Clone for Dynamic<'ctx>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'ctx> Debug for Dynamic<'ctx>
[src]
impl<'ctx> Display for Dynamic<'ctx>
[src]
impl<'ctx> Drop for Dynamic<'ctx>
[src]
impl<'ctx> Eq for Dynamic<'ctx>
[src]
impl<'ctx> From<Array<'ctx>> for Dynamic<'ctx>
[src]
impl<'ctx> From<BV<'ctx>> for Dynamic<'ctx>
[src]
impl<'ctx> From<Bool<'ctx>> for Dynamic<'ctx>
[src]
impl<'ctx> From<Datatype<'ctx>> for Dynamic<'ctx>
[src]
impl<'ctx> From<Dynamic<'ctx>> for Z3_ast
[src]
impl<'ctx> From<Int<'ctx>> for Dynamic<'ctx>
[src]
impl<'ctx> From<Real<'ctx>> for Dynamic<'ctx>
[src]
impl<'ctx> From<Set<'ctx>> for Dynamic<'ctx>
[src]
impl<'ctx> From<String<'ctx>> for Dynamic<'ctx>
[src]
impl<'ctx> Hash for Dynamic<'ctx>
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'ctx> PartialEq<Dynamic<'ctx>> for Dynamic<'ctx>
[src]
fn eq(&self, other: &Dynamic<'ctx>) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'ctx> TryFrom<Dynamic<'ctx>> for Bool<'ctx>
[src]
type Error = String
The type returned in the event of a conversion error.
fn try_from(ast: Dynamic<'ctx>) -> Result<Self, String>
[src]
impl<'ctx> TryFrom<Dynamic<'ctx>> for Int<'ctx>
[src]
type Error = String
The type returned in the event of a conversion error.
fn try_from(ast: Dynamic<'ctx>) -> Result<Self, String>
[src]
impl<'ctx> TryFrom<Dynamic<'ctx>> for Real<'ctx>
[src]
type Error = String
The type returned in the event of a conversion error.
fn try_from(ast: Dynamic<'ctx>) -> Result<Self, String>
[src]
impl<'ctx> TryFrom<Dynamic<'ctx>> for String<'ctx>
[src]
type Error = String
The type returned in the event of a conversion error.
fn try_from(ast: Dynamic<'ctx>) -> Result<Self, String>
[src]
impl<'ctx> TryFrom<Dynamic<'ctx>> for BV<'ctx>
[src]
type Error = String
The type returned in the event of a conversion error.
fn try_from(ast: Dynamic<'ctx>) -> Result<Self, String>
[src]
impl<'ctx> TryFrom<Dynamic<'ctx>> for Array<'ctx>
[src]
type Error = String
The type returned in the event of a conversion error.
fn try_from(ast: Dynamic<'ctx>) -> Result<Self, String>
[src]
impl<'ctx> TryFrom<Dynamic<'ctx>> for Datatype<'ctx>
[src]
Auto Trait Implementations
impl<'ctx> RefUnwindSafe for Dynamic<'ctx>
impl<'ctx> !Send for Dynamic<'ctx>
impl<'ctx> !Sync for Dynamic<'ctx>
impl<'ctx> Unpin for Dynamic<'ctx>
impl<'ctx> UnwindSafe for Dynamic<'ctx>
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> From<T> for T
[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>,