cairo_lang_sierra::extensions::lib_func

Trait NoGenericArgsGenericLibfunc

source
pub trait NoGenericArgsGenericLibfunc: Default {
    const STR_ID: &'static str;

    // Required method
    fn specialize_signature(
        &self,
        context: &dyn SignatureSpecializationContext,
    ) -> Result<LibfuncSignature, SpecializationError>;
}
Expand description

Trait for implementing a specialization generator with no generic arguments.

Required Associated Constants§

source

const STR_ID: &'static str

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

source§

impl NoGenericArgsGenericLibfunc for DisableApTrackingLibfunc

source§

const STR_ID: &'static str = "disable_ap_tracking"

source§

impl NoGenericArgsGenericLibfunc for EnableApTrackingLibfunc

source§

const STR_ID: &'static str = "enable_ap_tracking"

source§

impl NoGenericArgsGenericLibfunc for RevokeApTrackingLibfunc

source§

const STR_ID: &'static str = "revoke_ap_tracking"

source§

impl NoGenericArgsGenericLibfunc for BoolAndLibfunc

source§

const STR_ID: &'static str = "bool_and_impl"

source§

impl NoGenericArgsGenericLibfunc for BoolNotLibfunc

source§

const STR_ID: &'static str = "bool_not_impl"

source§

impl NoGenericArgsGenericLibfunc for BoolOrLibfunc

source§

const STR_ID: &'static str = "bool_or_impl"

source§

impl NoGenericArgsGenericLibfunc for BoolToFelt252Libfunc

source§

const STR_ID: &'static str = "bool_to_felt252"

source§

impl NoGenericArgsGenericLibfunc for BoolXorLibfunc

source§

const STR_ID: &'static str = "bool_xor_impl"

source§

impl NoGenericArgsGenericLibfunc for BranchAlignLibfunc

source§

const STR_ID: &'static str = "branch_align"

source§

impl NoGenericArgsGenericLibfunc for Bytes31ToFelt252Libfunc

source§

const STR_ID: &'static str = "bytes31_to_felt252"

source§

impl NoGenericArgsGenericLibfunc for CircuitFailureGuaranteeVerifyLibFunc

source§

const STR_ID: &'static str = "circuit_failure_guarantee_verify"

source§

impl NoGenericArgsGenericLibfunc for TryIntoCircuitModulusLibFunc

source§

const STR_ID: &'static str = "try_into_circuit_modulus"

source§

impl NoGenericArgsGenericLibfunc for U96GuaranteeVerifyLibFunc

source§

const STR_ID: &'static str = "u96_guarantee_verify"

source§

impl NoGenericArgsGenericLibfunc for U96SingleLimbLessThanGuaranteeVerifyLibfunc

source§

const STR_ID: &'static str = "u96_single_limb_less_than_guarantee_verify"

source§

impl NoGenericArgsGenericLibfunc for PrintLibfunc

source§

const STR_ID: &'static str = "print"

source§

impl NoGenericArgsGenericLibfunc for EcCreatePointLibfunc

source§

const STR_ID: &'static str = "ec_point_try_new_nz"

source§

impl NoGenericArgsGenericLibfunc for EcIsZeroLibfunc

source§

const STR_ID: &'static str = "ec_point_is_zero"

source§

impl NoGenericArgsGenericLibfunc for EcNegLibfunc

source§

const STR_ID: &'static str = "ec_neg"

source§

impl NoGenericArgsGenericLibfunc for EcPointFromXLibfunc

source§

const STR_ID: &'static str = "ec_point_from_x_nz"

source§

impl NoGenericArgsGenericLibfunc for EcStateAddLibfunc

source§

const STR_ID: &'static str = "ec_state_add"

source§

impl NoGenericArgsGenericLibfunc for EcStateAddMulLibfunc

source§

const STR_ID: &'static str = "ec_state_add_mul"

source§

impl NoGenericArgsGenericLibfunc for EcStateFinalizeLibfunc

source§

const STR_ID: &'static str = "ec_state_try_finalize_nz"

source§

impl NoGenericArgsGenericLibfunc for EcStateInitLibfunc

source§

const STR_ID: &'static str = "ec_state_init"

source§

impl NoGenericArgsGenericLibfunc for EcUnwrapPointLibfunc

source§

const STR_ID: &'static str = "ec_point_unwrap"

source§

impl NoGenericArgsGenericLibfunc for EcZeroLibfunc

source§

const STR_ID: &'static str = "ec_point_zero"

source§

impl NoGenericArgsGenericLibfunc for BuiltinCostGetBuiltinCostsLibfunc

source§

const STR_ID: &'static str = "get_builtin_costs"

source§

impl NoGenericArgsGenericLibfunc for BuiltinCostWithdrawGasLibfunc

source§

const STR_ID: &'static str = "withdraw_gas_all"

source§

impl NoGenericArgsGenericLibfunc for GetAvailableGasLibfunc

source§

const STR_ID: &'static str = "get_available_gas"

source§

impl NoGenericArgsGenericLibfunc for RedepositGasLibfunc

source§

const STR_ID: &'static str = "redeposit_gas"

source§

impl NoGenericArgsGenericLibfunc for WithdrawGasLibfunc

source§

const STR_ID: &'static str = "withdraw_gas"

source§

impl NoGenericArgsGenericLibfunc for U128ByteReverseLibfunc

source§

const STR_ID: &'static str = "u128_byte_reverse"

source§

impl NoGenericArgsGenericLibfunc for U128GuaranteeMulLibfunc

source§

const STR_ID: &'static str = "u128_guarantee_mul"

source§

impl NoGenericArgsGenericLibfunc for U128MulGuaranteeVerifyLibfunc

source§

const STR_ID: &'static str = "u128_mul_guarantee_verify"

source§

impl NoGenericArgsGenericLibfunc for Uint128sFromFelt252Libfunc

source§

const STR_ID: &'static str = "u128s_from_felt252"

source§

impl NoGenericArgsGenericLibfunc for Uint256DivmodLibfunc

source§

const STR_ID: &'static str = "u256_safe_divmod"

source§

impl NoGenericArgsGenericLibfunc for Uint256InvModNLibfunc

source§

const STR_ID: &'static str = "u256_guarantee_inv_mod_n"

source§

impl NoGenericArgsGenericLibfunc for Uint256IsZeroLibfunc

source§

const STR_ID: &'static str = "u256_is_zero"

source§

impl NoGenericArgsGenericLibfunc for Uint256SquareRootLibfunc

source§

const STR_ID: &'static str = "u256_sqrt"

source§

impl NoGenericArgsGenericLibfunc for Uint512DivmodU256Libfunc

source§

const STR_ID: &'static str = "u512_safe_divmod_by_u256"

source§

impl NoGenericArgsGenericLibfunc for FinalizeLocalsLibfunc

source§

const STR_ID: &'static str = "finalize_locals"

source§

impl NoGenericArgsGenericLibfunc for PedersenHashLibfunc

source§

const STR_ID: &'static str = "pedersen"

source§

impl NoGenericArgsGenericLibfunc for HadesPermutationLibfunc

source§

const STR_ID: &'static str = "hades_permutation"

source§

impl NoGenericArgsGenericLibfunc for ClassHashToFelt252Libfunc

source§

const STR_ID: &'static str = "class_hash_to_felt252"

source§

impl NoGenericArgsGenericLibfunc for ContractAddressToFelt252Libfunc

source§

const STR_ID: &'static str = "contract_address_to_felt252"

source§

impl NoGenericArgsGenericLibfunc for StorageAddressFromBaseAndOffsetLibfunc

source§

const STR_ID: &'static str = "storage_address_from_base_and_offset"

source§

impl NoGenericArgsGenericLibfunc for StorageAddressFromBaseLibfunc

source§

const STR_ID: &'static str = "storage_address_from_base"

source§

impl NoGenericArgsGenericLibfunc for StorageAddressToFelt252Libfunc

source§

const STR_ID: &'static str = "storage_address_to_felt252"

source§

impl NoGenericArgsGenericLibfunc for StorageBaseAddressFromFelt252Libfunc

source§

const STR_ID: &'static str = "storage_base_address_from_felt252"

source§

impl NoGenericArgsGenericLibfunc for Sha256StateHandleDigestLibfunc

source§

const STR_ID: &'static str = "sha256_state_handle_digest"

source§

impl NoGenericArgsGenericLibfunc for Sha256StateHandleInitLibfunc

source§

const STR_ID: &'static str = "sha256_state_handle_init"

source§

impl NoGenericArgsGenericLibfunc for UnconditionalJumpLibfunc

source§

const STR_ID: &'static str = "jump"

source§

impl<T: SyscallGenericLibfunc> NoGenericArgsGenericLibfunc for T

source§

const STR_ID: &'static str = T::STR_ID

source§

impl<TIntMulTraits: IntMulTraits> NoGenericArgsGenericLibfunc for IntWideMulLibfunc<TIntMulTraits>

source§

const STR_ID: &'static str = TIntMulTraits::WIDE_MUL

source§

impl<TIntTraits: IntTraits> NoGenericArgsGenericLibfunc for IntEqualLibfunc<TIntTraits>

source§

const STR_ID: &'static str = TIntTraits::EQUAL

source§

impl<TIntTraits: IntTraits> NoGenericArgsGenericLibfunc for IntToFelt252Libfunc<TIntTraits>

source§

const STR_ID: &'static str = TIntTraits::TO_FELT252

source§

impl<TIsZeroTraits: IsZeroTraits> NoGenericArgsGenericLibfunc for IsZeroLibfunc<TIsZeroTraits>

source§

const STR_ID: &'static str = TIsZeroTraits::IS_ZERO

source§

impl<TSintTraits: SintTraits> NoGenericArgsGenericLibfunc for SintDiffLibfunc<TSintTraits>

source§

const STR_ID: &'static str = TSintTraits::DIFF

source§

impl<TTryFromFelt252: TryFromFelt252> NoGenericArgsGenericLibfunc for TryFromFelt252Libfunc<TTryFromFelt252>

source§

const STR_ID: &'static str = TTryFromFelt252::STR_ID

source§

impl<TUintTraits: UintTraits> NoGenericArgsGenericLibfunc for UintBitwiseLibfunc<TUintTraits>

source§

const STR_ID: &'static str = TUintTraits::BITWISE

source§

impl<TUintTraits: UintTraits> NoGenericArgsGenericLibfunc for UintDivmodLibfunc<TUintTraits>

source§

const STR_ID: &'static str = TUintTraits::DIVMOD

source§

impl<TUintTraits: UintTraits> NoGenericArgsGenericLibfunc for UintSquareRootLibfunc<TUintTraits>

source§

const STR_ID: &'static str = TUintTraits::SQUARE_ROOT