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.

method libtmux-swift latest

HookScope.init(from:)

Creates a new instance by decoding from the given decoder.

Source and package
Qualified name
HookScope.init(from:)
Declared in
HookScope
Package
libtmux-swift
init(from: any Decoder)

Inherited from Decodable.init(from:)

Description#

This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.

  • Parameter decoder: The decoder to read data from.
Parameters
Raises
Esc

Type to search.

Reference previewOpen reference