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.

property libtmux-swift latest

Options.rawValue

The corresponding value of the raw type.

Source and package
Qualified name
RegexPattern.Options.rawValue
Module
RegexPattern
Declared in
Options
Package
libtmux-swift
Source
Sources/LibTmux/RegexPattern.swift
rawValue : let rawValue: UInt8

Description#

A new instance initialized with rawValue will be equivalent to this instance. For example:

enum PaperSize: String { case A4, A5, Letter, Legal }

let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter"

print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"

Esc

Type to search.

Reference previewOpen reference