Sort2Smt

Trait Sort2Smt 

Source
pub trait Sort2Smt {
    // Required method
    fn sort_to_smt2<Writer>(&self, w: &mut Writer) -> SmtRes<()>
       where Writer: Write;
}
Expand description

A sort printable in the SMT-LIB 2 standard.

Required Methods§

Source

fn sort_to_smt2<Writer>(&self, w: &mut Writer) -> SmtRes<()>
where Writer: Write,

Prints a sort to a writer info.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Sort2Smt for str

Source§

fn sort_to_smt2<Writer>(&self, writer: &mut Writer) -> SmtRes<()>
where Writer: Write,

Source§

impl Sort2Smt for String

Source§

fn sort_to_smt2<Writer>(&self, writer: &mut Writer) -> SmtRes<()>
where Writer: Write,

Source§

impl<'a, T> Sort2Smt for &'a T
where T: Sort2Smt + ?Sized,

Source§

fn sort_to_smt2<Writer>(&self, writer: &mut Writer) -> SmtRes<()>
where Writer: Write,

Implementors§