Panther Search Documentation Tutorials Devlog Downloads Source Code

Type Traits

Panther
Documentation


@bitWidth

func @bitWidth = <{T: Type}> () -> USize;

Get the bitwidth of type T. T must be integral.

@sizeOf

func @sizeOf = <{T: Type}> () -> USize;

Get the size of type T. T cannot be Void.