cairo_lang_sierra::extensions::types

Trait NoGenericArgsGenericType

Source
pub trait NoGenericArgsGenericType: Default {
    const ID: GenericTypeId;
    const STORABLE: bool;
    const DUPLICATABLE: bool;
    const DROPPABLE: bool;
    const ZERO_SIZED: bool;
}
Expand description

Trait for describing a generic type with no generic arguments.

Required Associated Constants§

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 NoGenericArgsGenericType for BitwiseType

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl NoGenericArgsGenericType for Bytes31Type

Source§

impl NoGenericArgsGenericType for AddModType

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl NoGenericArgsGenericType for CircuitFailureGuarantee

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl NoGenericArgsGenericType for CircuitModulus

Source§

impl NoGenericArgsGenericType for MulModType

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl NoGenericArgsGenericType for U96Guarantee

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl NoGenericArgsGenericType for EcOpType

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl NoGenericArgsGenericType for EcPointType

Source§

impl NoGenericArgsGenericType for EcStateType

Source§

impl NoGenericArgsGenericType for Felt252Type

Source§

impl NoGenericArgsGenericType for BuiltinCostsType

Source§

impl NoGenericArgsGenericType for GasBuiltinType

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl NoGenericArgsGenericType for U128MulGuaranteeType

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl NoGenericArgsGenericType for PedersenType

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl NoGenericArgsGenericType for PoseidonType

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl NoGenericArgsGenericType for RangeCheck96Type

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl NoGenericArgsGenericType for RangeCheckType

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl NoGenericArgsGenericType for SegmentArenaType

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl NoGenericArgsGenericType for ClassHashType

Source§

impl NoGenericArgsGenericType for ContractAddressType

Source§

impl NoGenericArgsGenericType for Secp256k1PointType

Source§

impl NoGenericArgsGenericType for Secp256r1PointType

Source§

impl NoGenericArgsGenericType for StorageAddressType

Source§

impl NoGenericArgsGenericType for StorageBaseAddressType

Source§

impl NoGenericArgsGenericType for Sha256StateHandleType

Source§

impl NoGenericArgsGenericType for SystemType

Source§

const ID: GenericTypeId = _

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = false

Source§

const DROPPABLE: bool = false

Source§

const ZERO_SIZED: bool = false

Source§

impl<TIntTraits: IntTraits> NoGenericArgsGenericType for IntType<TIntTraits>

Source§

const ID: GenericTypeId = TIntTraits::GENERIC_TYPE_ID

Source§

const STORABLE: bool = true

Source§

const DUPLICATABLE: bool = true

Source§

const DROPPABLE: bool = true

Source§

const ZERO_SIZED: bool = false