Struct TripletMarkers<TLinkAddress>
- Namespace
- Foundation.Data.Doublets.Cli
- Assembly
- Foundation.Data.Doublets.Cli.dll
The two marker points of the encoding: Pair, the source of every
wrapper (Pair f), and Nothing, which stands for the empty
part inside wrappers and pairs.
public readonly record struct TripletMarkers<TLinkAddress> : IEquatable<TripletMarkers<TLinkAddress>> where TLinkAddress : struct, IUnsignedNumber<TLinkAddress>
Type Parameters
TLinkAddress
- Implements
-
IEquatable<TripletMarkers<TLinkAddress>>
- Inherited Members
Constructors
TripletMarkers(TLinkAddress, TLinkAddress)
The two marker points of the encoding: Pair, the source of every
wrapper (Pair f), and Nothing, which stands for the empty
part inside wrappers and pairs.
public TripletMarkers(TLinkAddress Pair, TLinkAddress Nothing)
Parameters
PairTLinkAddressNothingTLinkAddress
Properties
Nothing
public TLinkAddress Nothing { get; init; }
Property Value
- TLinkAddress
Pair
public TLinkAddress Pair { get; init; }
Property Value
- TLinkAddress
Methods
Contains(TLinkAddress)
Whether id is one of the markers.
public bool Contains(TLinkAddress id)
Parameters
idTLinkAddress