pub struct CatPuzzle {
pub asset_id: Bytes32,
pub inner_puzzle: Puzzle,
}
Fields§
§asset_id: Bytes32
§inner_puzzle: Puzzle
Implementations§
Source§impl CatPuzzle
impl CatPuzzle
pub fn parse( allocator: &Allocator, puzzle: &Puzzle, ) -> Result<Option<Self>, ParseError>
pub fn p2_outputs( &self, allocator: &mut Allocator, solution: NodePtr, ) -> Result<Vec<CreateCoin>, ParseError>
pub fn child_coin_info( &self, allocator: &mut Allocator, parent_coin: Coin, child_coin: Coin, solution: NodePtr, ) -> Result<CatInfo, ParseError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CatPuzzle
impl RefUnwindSafe for CatPuzzle
impl Send for CatPuzzle
impl Sync for CatPuzzle
impl Unpin for CatPuzzle
impl UnwindSafe for CatPuzzle
Blanket Implementations§
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