pub struct Contracts;Implementations§
Source§impl Contracts
impl Contracts
pub fn of<C>() -> Result<Vec<Contract>, ContractError>
pub fn from_entries( entries: &[WireDeclaration], ) -> Result<Vec<Contract>, ContractError>
pub fn from_tree( entries: &[Node<WireDeclaration>], ) -> Result<Vec<Contract>, ContractError>
pub fn from_projection<P>(entries: &P) -> Result<Vec<Contract>, ContractError>where
P: Projection<WireDeclaration>,
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Contracts
impl RefUnwindSafe for Contracts
impl Send for Contracts
impl Sync for Contracts
impl Unpin for Contracts
impl UnsafeUnpin for Contracts
impl UnwindSafe for Contracts
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more