pub enum Base {
B,
K,
V,
W,
}Expand description
Basic type representing where the fragment can go
Variants§
B
Takes its inputs from the top of the stack. Pushes nonzero if the condition is satisfied. If not, if it does not abort, then 0 is pushed.
K
Takes its inputs from the top of the stack. Pushes a
public key, regardless of satisfaction, onto the stack.
Must be wrapped in c: to turn into any other type.
V
Takes its inputs from the top of the stack, which must satisfy the condition (will abort otherwise). Does not push anything onto the stack.
W
Takes from the stack its inputs + element X at the top. If the inputs satisfy the condition, [nonzero X] or [X nonzero] is pushed. If not, if it does not abort, then [0 X] or [X 0] is pushed.
Trait Implementations§
Source§impl Ord for Base
impl Ord for Base
Source§impl PartialOrd for Base
impl PartialOrd for Base
impl Copy for Base
impl Eq for Base
impl StructuralPartialEq for Base
Auto Trait Implementations§
impl Freeze for Base
impl RefUnwindSafe for Base
impl Send for Base
impl Sync for Base
impl Unpin for Base
impl UnwindSafe for Base
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