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