Skip to content

What are I256 and U256 for? #194

Closed
Closed
@boundless-forest

Description

@boundless-forest

https://github.com/paritytech/scale-info/blob/master/src/ty/mod.rs#L375-L377

And

https://github.com/paritytech/scale-info/blob/master/src/ty/mod.rs#L393C49-L395

I noticed that these two types are not impl metadata at all. So what's the point behind this?

impl_metadata_for_primitives!(
    bool => TypeDefPrimitive::Bool,
    char => TypeDefPrimitive::Char,
    u8 => TypeDefPrimitive::U8,
    u16 => TypeDefPrimitive::U16,
    u32 => TypeDefPrimitive::U32,
    u64 => TypeDefPrimitive::U64,
    u128 => TypeDefPrimitive::U128,
    i8 => TypeDefPrimitive::I8,
    i16 => TypeDefPrimitive::I16,
    i32 => TypeDefPrimitive::I32,
    i64 => TypeDefPrimitive::I64,
    i128 => TypeDefPrimitive::I128,
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions