aermicioi.aedi.util.typecons

Undocumented in source.

Members

Aliases

paired
alias paired = pair

Pair a key and a value toghether.

Functions

optional
Optional!T optional(T optional)
Optional!T optional()

Pseudo immutable optional with a value or not.

pair
Pair!(ValueType, KeyType) pair(ValueType value, KeyType key)

Pair a key and a value toghether.

tuple
auto tuple(Args args)

Creates a lightweight tuple of values.

Interfaces

Subscribable
interface Subscribable(EventType, Callback)

Interface for objects that can be subscribed to specific events emmited by them.

Mixin templates

AllArgsConstructor
mixintemplate AllArgsConstructor()

Mix in an all args constructor

ArgsConstructor
mixintemplate ArgsConstructor(Args...)
Undocumented in source.
CopyConstructor
mixintemplate CopyConstructor()

Mix in a copy constructor

SubscribableMixin
mixintemplate SubscribableMixin(EventType, Callback)

A default mixin implementing storage logic for subscribers.

Structs

Optional
struct Optional(T)

Pseudo immutable optional with a value or not.

Pair
struct Pair(ValueType, KeyType)

Pair a key and a value toghether.

Tuple
struct Tuple(Args...)

Creates a lightweight tuple of values.

Meta