In many methods for Bdd manipulation, we often expect a reference to another Bdd (like the and function). This makes the API slightly weird to use because we have to put & everywhere. However, there is a useful built in trait AsRef that we can implement in Bdd that can be used for this easily.
In many methods for
Bdd
manipulation, we often expect a reference to anotherBdd
(like theand
function). This makes the API slightly weird to use because we have to put&
everywhere. However, there is a useful built in traitAsRef
that we can implement inBdd
that can be used for this easily.