Trait ConstraintBuilder

Source
pub trait ConstraintBuilder {
    // Required method
    fn build(&mut self) -> Vec<u8> ;
}
Expand description

Trait for building a constraint.

The ConstraintBuilder encapsulates the logic for building a constraint by allocating the necessary memory and writing the constraint data to a buffer. The build method can then be used to retrieve the data buffer.

Required Methods§

Source

fn build(&mut self) -> Vec<u8>

Implementors§