Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-swift

RegexPattern.encode(to:)

Encodes this value into the given encoder.

Source and package
Qualified name
RegexPattern.encode(to:)
Declared in
RegexPattern
Package
libtmux-swift
Source
Sources/LibTmux/RegexPattern.swift
encode(to: any Encoder) -> ()

Description

If the value fails to encode anything, encoder will encode an empty keyed container in its place.

This function throws an error if any values are invalid for the given encoder's format.

  • Parameter encoder: The encoder to write data to.
Parameters
Errors

Recorded calls

source calls
No call edges in the Swift model.

The Swift reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls RegexPattern.encode(to:).

Esc
Search in

Type to search.

Reference previewOpen reference