StructDescriptor

fr.hammons.slinc.StructDescriptor
trait StructDescriptor(val members: List[StructMemberDescriptor], val clazz: Class[_], val transform: Tuple => Product) extends TypeDescriptor

A descriptor for a C struct

Value parameters

clazz

The class that's an analog for this struct

members

The members of the struct

transform

A function for transforming a tuple into the analog of this Struct

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

type Inner

Attributes

Inherited from:
TypeDescriptor

Value members

Inherited methods

def alignment(using dm: DescriptorModule): Bytes

Attributes

Inherited from:
TypeDescriptor
def size(using dm: DescriptorModule): Bytes

Attributes

Inherited from:
TypeDescriptor
def toCarrierType(using dm: DescriptorModule): Class[_]

Attributes

Inherited from:
TypeDescriptor

Concrete fields

val clazz: Class[_]
val transform: Tuple => Product

Inherited fields

Attributes

Inherited from:
TypeDescriptor
val arrayReader: (ReadWriteModule, DescriptorModule, ClassTag[Inner]) ?=> () => Inner

Attributes

Inherited from:
TypeDescriptor

Attributes

Inherited from:
TypeDescriptor

Attributes

Inherited from:
TypeDescriptor

Attributes

Inherited from:
TypeDescriptor

Attributes

Inherited from:
TypeDescriptor