Header menu logo Nu

StructPair<'a, 'b> Type

A struct-based representation of a pair. This type would seem redundant with struct (,) and KeyValuePair, but it's not. This type is unique in that allows you to take a reference to its Fst and Snd fields. Unfortunately, there seems to be no way to do that with struct (,) or KeyValuePair. NOTE: StructPair doesn't allow client assemblies to reference its fields, so it's not properly usable outside of Nu's engine code, unfortunately.

Record fields

Record Field Description

Fst

Full Usage: Fst

Field type: 'a
Field type: 'a

Snd

Full Usage: Snd

Field type: 'b
Field type: 'b

Type something to start searching.