encoder property
Returns the encoder from S
to T
.
It may be stateful and should not be reused.
Implementation
@override
BorshRustEnumEncoder<T> get encoder => BorshRustEnumEncoder(variants);
Returns the encoder from S
to T
.
It may be stateful and should not be reused.
@override
BorshRustEnumEncoder<T> get encoder => BorshRustEnumEncoder(variants);