Function tupleArbitraryDepth [src]

Like tuple, but recursive types are allowed. It is the caller's responsibility to ensure that val does not contain cycles.

Prototype

pub fn tupleArbitraryDepth( self: *Serializer, val: anytype, options: ValueOptions, ) Error!void

Parameters

self: *Serializeroptions: ValueOptions

Possible Errors

WriteFailed Error

See the Writer implementation for detailed diagnostics.

Source

pub fn tupleArbitraryDepth( self: *Serializer, val: anytype, options: ValueOptions, ) Error!void { try self.tupleImpl(val, options); }