Enum Core

Source
pub enum Core {
Show 368 variants Add16, Add32, Add64, Add8, All16, All32, All64, All8, And1, And16, And32, And64, And8, Bip0340Verify, Ch1, Ch16, Ch32, Ch64, Ch8, CheckSigVerify, Complement1, Complement16, Complement32, Complement64, Complement8, Decompress, Decrement16, Decrement32, Decrement64, Decrement8, DivMod128_64, DivMod16, DivMod32, DivMod64, DivMod8, Divide16, Divide32, Divide64, Divide8, Divides16, Divides32, Divides64, Divides8, Eq1, Eq16, Eq256, Eq32, Eq64, Eq8, FeAdd, FeInvert, FeIsOdd, FeIsZero, FeMultiply, FeMultiplyBeta, FeNegate, FeNormalize, FeSquare, FeSquareRoot, FullAdd16, FullAdd32, FullAdd64, FullAdd8, FullDecrement16, FullDecrement32, FullDecrement64, FullDecrement8, FullIncrement16, FullIncrement32, FullIncrement64, FullIncrement8, FullLeftShift16_1, FullLeftShift16_2, FullLeftShift16_4, FullLeftShift16_8, FullLeftShift32_1, FullLeftShift32_16, FullLeftShift32_2, FullLeftShift32_4, FullLeftShift32_8, FullLeftShift64_1, FullLeftShift64_16, FullLeftShift64_2, FullLeftShift64_32, FullLeftShift64_4, FullLeftShift64_8, FullLeftShift8_1, FullLeftShift8_2, FullLeftShift8_4, FullMultiply16, FullMultiply32, FullMultiply64, FullMultiply8, FullRightShift16_1, FullRightShift16_2, FullRightShift16_4, FullRightShift16_8, FullRightShift32_1, FullRightShift32_16, FullRightShift32_2, FullRightShift32_4, FullRightShift32_8, FullRightShift64_1, FullRightShift64_16, FullRightShift64_2, FullRightShift64_32, FullRightShift64_4, FullRightShift64_8, FullRightShift8_1, FullRightShift8_2, FullRightShift8_4, FullSubtract16, FullSubtract32, FullSubtract64, FullSubtract8, GeIsOnCurve, GeNegate, GejAdd, GejDouble, GejEquiv, GejGeAdd, GejGeAddEx, GejGeEquiv, GejInfinity, GejIsInfinity, GejIsOnCurve, GejNegate, GejNormalize, GejRescale, GejXEquiv, GejYIsOdd, Generate, HashToCurve, High1, High16, High32, High64, High8, Increment16, Increment32, Increment64, Increment8, IsOne16, IsOne32, IsOne64, IsOne8, IsZero16, IsZero32, IsZero64, IsZero8, Le16, Le32, Le64, Le8, LeftExtend16_32, LeftExtend16_64, LeftExtend1_16, LeftExtend1_32, LeftExtend1_64, LeftExtend1_8, LeftExtend32_64, LeftExtend8_16, LeftExtend8_32, LeftExtend8_64, LeftPadHigh16_32, LeftPadHigh16_64, LeftPadHigh1_16, LeftPadHigh1_32, LeftPadHigh1_64, LeftPadHigh1_8, LeftPadHigh32_64, LeftPadHigh8_16, LeftPadHigh8_32, LeftPadHigh8_64, LeftPadLow16_32, LeftPadLow16_64, LeftPadLow1_16, LeftPadLow1_32, LeftPadLow1_64, LeftPadLow1_8, LeftPadLow32_64, LeftPadLow8_16, LeftPadLow8_32, LeftPadLow8_64, LeftRotate16, LeftRotate32, LeftRotate64, LeftRotate8, LeftShift16, LeftShift32, LeftShift64, LeftShift8, LeftShiftWith16, LeftShiftWith32, LeftShiftWith64, LeftShiftWith8, Leftmost16_1, Leftmost16_2, Leftmost16_4, Leftmost16_8, Leftmost32_1, Leftmost32_16, Leftmost32_2, Leftmost32_4, Leftmost32_8, Leftmost64_1, Leftmost64_16, Leftmost64_2, Leftmost64_32, Leftmost64_4, Leftmost64_8, Leftmost8_1, Leftmost8_2, Leftmost8_4, LinearCombination1, LinearVerify1, Low1, Low16, Low32, Low64, Low8, Lt16, Lt32, Lt64, Lt8, Maj1, Maj16, Maj32, Maj64, Maj8, Max16, Max32, Max64, Max8, Median16, Median32, Median64, Median8, Min16, Min32, Min64, Min8, Modulo16, Modulo32, Modulo64, Modulo8, Multiply16, Multiply32, Multiply64, Multiply8, Negate16, Negate32, Negate64, Negate8, One16, One32, One64, One8, Or1, Or16, Or32, Or64, Or8, ParseLock, ParseSequence, PointVerify1, RightExtend16_32, RightExtend16_64, RightExtend32_64, RightExtend8_16, RightExtend8_32, RightExtend8_64, RightPadHigh16_32, RightPadHigh16_64, RightPadHigh1_16, RightPadHigh1_32, RightPadHigh1_64, RightPadHigh1_8, RightPadHigh32_64, RightPadHigh8_16, RightPadHigh8_32, RightPadHigh8_64, RightPadLow16_32, RightPadLow16_64, RightPadLow1_16, RightPadLow1_32, RightPadLow1_64, RightPadLow1_8, RightPadLow32_64, RightPadLow8_16, RightPadLow8_32, RightPadLow8_64, RightRotate16, RightRotate32, RightRotate64, RightRotate8, RightShift16, RightShift32, RightShift64, RightShift8, RightShiftWith16, RightShiftWith32, RightShiftWith64, RightShiftWith8, Rightmost16_1, Rightmost16_2, Rightmost16_4, Rightmost16_8, Rightmost32_1, Rightmost32_16, Rightmost32_2, Rightmost32_4, Rightmost32_8, Rightmost64_1, Rightmost64_16, Rightmost64_2, Rightmost64_32, Rightmost64_4, Rightmost64_8, Rightmost8_1, Rightmost8_2, Rightmost8_4, ScalarAdd, ScalarInvert, ScalarIsZero, ScalarMultiply, ScalarMultiplyLambda, ScalarNegate, ScalarNormalize, ScalarSquare, Scale, Sha256Block, Sha256Ctx8Add1, Sha256Ctx8Add128, Sha256Ctx8Add16, Sha256Ctx8Add2, Sha256Ctx8Add256, Sha256Ctx8Add32, Sha256Ctx8Add4, Sha256Ctx8Add512, Sha256Ctx8Add64, Sha256Ctx8Add8, Sha256Ctx8AddBuffer511, Sha256Ctx8Finalize, Sha256Ctx8Init, Sha256Iv, Some1, Some16, Some32, Some64, Some8, Subtract16, Subtract32, Subtract64, Subtract8, Swu, TapdataInit, Verify, Xor1, Xor16, Xor32, Xor64, Xor8, XorXor1, XorXor16, XorXor32, XorXor64, XorXor8,
}
Expand description

The Core jet family.

Variants§

§

Add16

§

Add32

§

Add64

§

Add8

§

All16

§

All32

§

All64

§

All8

§

And1

§

And16

§

And32

§

And64

§

And8

§

Bip0340Verify

§

Ch1

§

Ch16

§

Ch32

§

Ch64

§

Ch8

§

CheckSigVerify

§

Complement1

§

Complement16

§

Complement32

§

Complement64

§

Complement8

§

Decompress

§

Decrement16

§

Decrement32

§

Decrement64

§

Decrement8

§

DivMod128_64

§

DivMod16

§

DivMod32

§

DivMod64

§

DivMod8

§

Divide16

§

Divide32

§

Divide64

§

Divide8

§

Divides16

§

Divides32

§

Divides64

§

Divides8

§

Eq1

§

Eq16

§

Eq256

§

Eq32

§

Eq64

§

Eq8

§

FeAdd

§

FeInvert

§

FeIsOdd

§

FeIsZero

§

FeMultiply

§

FeMultiplyBeta

§

FeNegate

§

FeNormalize

§

FeSquare

§

FeSquareRoot

§

FullAdd16

§

FullAdd32

§

FullAdd64

§

FullAdd8

§

FullDecrement16

§

FullDecrement32

§

FullDecrement64

§

FullDecrement8

§

FullIncrement16

§

FullIncrement32

§

FullIncrement64

§

FullIncrement8

§

FullLeftShift16_1

§

FullLeftShift16_2

§

FullLeftShift16_4

§

FullLeftShift16_8

§

FullLeftShift32_1

§

FullLeftShift32_16

§

FullLeftShift32_2

§

FullLeftShift32_4

§

FullLeftShift32_8

§

FullLeftShift64_1

§

FullLeftShift64_16

§

FullLeftShift64_2

§

FullLeftShift64_32

§

FullLeftShift64_4

§

FullLeftShift64_8

§

FullLeftShift8_1

§

FullLeftShift8_2

§

FullLeftShift8_4

§

FullMultiply16

§

FullMultiply32

§

FullMultiply64

§

FullMultiply8

§

FullRightShift16_1

§

FullRightShift16_2

§

FullRightShift16_4

§

FullRightShift16_8

§

FullRightShift32_1

§

FullRightShift32_16

§

FullRightShift32_2

§

FullRightShift32_4

§

FullRightShift32_8

§

FullRightShift64_1

§

FullRightShift64_16

§

FullRightShift64_2

§

FullRightShift64_32

§

FullRightShift64_4

§

FullRightShift64_8

§

FullRightShift8_1

§

FullRightShift8_2

§

FullRightShift8_4

§

FullSubtract16

§

FullSubtract32

§

FullSubtract64

§

FullSubtract8

§

GeIsOnCurve

§

GeNegate

§

GejAdd

§

GejDouble

§

GejEquiv

§

GejGeAdd

§

GejGeAddEx

§

GejGeEquiv

§

GejInfinity

§

GejIsInfinity

§

GejIsOnCurve

§

GejNegate

§

GejNormalize

§

GejRescale

§

GejXEquiv

§

GejYIsOdd

§

Generate

§

HashToCurve

§

High1

§

High16

§

High32

§

High64

§

High8

§

Increment16

§

Increment32

§

Increment64

§

Increment8

§

IsOne16

§

IsOne32

§

IsOne64

§

IsOne8

§

IsZero16

§

IsZero32

§

IsZero64

§

IsZero8

§

Le16

§

Le32

§

Le64

§

Le8

§

LeftExtend16_32

§

LeftExtend16_64

§

LeftExtend1_16

§

LeftExtend1_32

§

LeftExtend1_64

§

LeftExtend1_8

§

LeftExtend32_64

§

LeftExtend8_16

§

LeftExtend8_32

§

LeftExtend8_64

§

LeftPadHigh16_32

§

LeftPadHigh16_64

§

LeftPadHigh1_16

§

LeftPadHigh1_32

§

LeftPadHigh1_64

§

LeftPadHigh1_8

§

LeftPadHigh32_64

§

LeftPadHigh8_16

§

LeftPadHigh8_32

§

LeftPadHigh8_64

§

LeftPadLow16_32

§

LeftPadLow16_64

§

LeftPadLow1_16

§

LeftPadLow1_32

§

LeftPadLow1_64

§

LeftPadLow1_8

§

LeftPadLow32_64

§

LeftPadLow8_16

§

LeftPadLow8_32

§

LeftPadLow8_64

§

LeftRotate16

§

LeftRotate32

§

LeftRotate64

§

LeftRotate8

§

LeftShift16

§

LeftShift32

§

LeftShift64

§

LeftShift8

§

LeftShiftWith16

§

LeftShiftWith32

§

LeftShiftWith64

§

LeftShiftWith8

§

Leftmost16_1

§

Leftmost16_2

§

Leftmost16_4

§

Leftmost16_8

§

Leftmost32_1

§

Leftmost32_16

§

Leftmost32_2

§

Leftmost32_4

§

Leftmost32_8

§

Leftmost64_1

§

Leftmost64_16

§

Leftmost64_2

§

Leftmost64_32

§

Leftmost64_4

§

Leftmost64_8

§

Leftmost8_1

§

Leftmost8_2

§

Leftmost8_4

§

LinearCombination1

§

LinearVerify1

§

Low1

§

Low16

§

Low32

§

Low64

§

Low8

§

Lt16

§

Lt32

§

Lt64

§

Lt8

§

Maj1

§

Maj16

§

Maj32

§

Maj64

§

Maj8

§

Max16

§

Max32

§

Max64

§

Max8

§

Median16

§

Median32

§

Median64

§

Median8

§

Min16

§

Min32

§

Min64

§

Min8

§

Modulo16

§

Modulo32

§

Modulo64

§

Modulo8

§

Multiply16

§

Multiply32

§

Multiply64

§

Multiply8

§

Negate16

§

Negate32

§

Negate64

§

Negate8

§

One16

§

One32

§

One64

§

One8

§

Or1

§

Or16

§

Or32

§

Or64

§

Or8

§

ParseLock

§

ParseSequence

§

PointVerify1

§

RightExtend16_32

§

RightExtend16_64

§

RightExtend32_64

§

RightExtend8_16

§

RightExtend8_32

§

RightExtend8_64

§

RightPadHigh16_32

§

RightPadHigh16_64

§

RightPadHigh1_16

§

RightPadHigh1_32

§

RightPadHigh1_64

§

RightPadHigh1_8

§

RightPadHigh32_64

§

RightPadHigh8_16

§

RightPadHigh8_32

§

RightPadHigh8_64

§

RightPadLow16_32

§

RightPadLow16_64

§

RightPadLow1_16

§

RightPadLow1_32

§

RightPadLow1_64

§

RightPadLow1_8

§

RightPadLow32_64

§

RightPadLow8_16

§

RightPadLow8_32

§

RightPadLow8_64

§

RightRotate16

§

RightRotate32

§

RightRotate64

§

RightRotate8

§

RightShift16

§

RightShift32

§

RightShift64

§

RightShift8

§

RightShiftWith16

§

RightShiftWith32

§

RightShiftWith64

§

RightShiftWith8

§

Rightmost16_1

§

Rightmost16_2

§

Rightmost16_4

§

Rightmost16_8

§

Rightmost32_1

§

Rightmost32_16

§

Rightmost32_2

§

Rightmost32_4

§

Rightmost32_8

§

Rightmost64_1

§

Rightmost64_16

§

Rightmost64_2

§

Rightmost64_32

§

Rightmost64_4

§

Rightmost64_8

§

Rightmost8_1

§

Rightmost8_2

§

Rightmost8_4

§

ScalarAdd

§

ScalarInvert

§

ScalarIsZero

§

ScalarMultiply

§

ScalarMultiplyLambda

§

ScalarNegate

§

ScalarNormalize

§

ScalarSquare

§

Scale

§

Sha256Block

§

Sha256Ctx8Add1

§

Sha256Ctx8Add128

§

Sha256Ctx8Add16

§

Sha256Ctx8Add2

§

Sha256Ctx8Add256

§

Sha256Ctx8Add32

§

Sha256Ctx8Add4

§

Sha256Ctx8Add512

§

Sha256Ctx8Add64

§

Sha256Ctx8Add8

§

Sha256Ctx8AddBuffer511

§

Sha256Ctx8Finalize

§

Sha256Ctx8Init

§

Sha256Iv

§

Some1

§

Some16

§

Some32

§

Some64

§

Some8

§

Subtract16

§

Subtract32

§

Subtract64

§

Subtract8

§

Swu

§

TapdataInit

§

Verify

§

Xor1

§

Xor16

§

Xor32

§

Xor64

§

Xor8

§

XorXor1

§

XorXor16

§

XorXor32

§

XorXor64

§

XorXor8

Implementations§

Source§

impl Core

Source

pub const ALL: [Self; 368]

Array of all Core jets.

Trait Implementations§

Source§

impl Clone for Core

Source§

fn clone(&self) -> Core

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Core

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Core

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromStr for Core

Source§

type Err = Error

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Core

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Jet for Core

Source§

type Environment = ()

Environment for jet to read from
Source§

type CJetEnvironment = ()

CJetEnvironment to interact with C FFI.
Source§

fn c_jet_env(env: &Self::Environment) -> &Self::CJetEnvironment

Obtains a C FFI compatible environment for the jet.
Source§

fn cmr(&self) -> Cmr

Return the CMR of the jet.
Source§

fn source_ty(&self) -> TypeName

Return the source type of the jet.
Source§

fn target_ty(&self) -> TypeName

Return the target type of the jet.
Source§

fn encode<W: Write>(&self, w: &mut BitWriter<W>) -> Result<usize>

Encode the jet to bits.
Source§

fn decode<I: Iterator<Item = u8>>(bits: &mut BitIter<I>) -> Result<Self, Error>

Decode a jet from bits.
Source§

fn c_jet_ptr( &self, ) -> &dyn Fn(&mut CFrameItem, CFrameItem, &Self::CJetEnvironment) -> bool

Obtain the FFI C pointer for the jet.
Source§

fn cost(&self) -> Cost

Return the cost of the jet.
Source§

impl Ord for Core

Source§

fn cmp(&self, other: &Core) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Core

Source§

fn eq(&self, other: &Core) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for Core

Source§

fn partial_cmp(&self, other: &Core) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for Core

Source§

impl Eq for Core

Source§

impl StructuralPartialEq for Core

Auto Trait Implementations§

§

impl Freeze for Core

§

impl RefUnwindSafe for Core

§

impl Send for Core

§

impl Sync for Core

§

impl Unpin for Core

§

impl UnwindSafe for Core

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V