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-rs

ReleaseSuffix.patch_letter

Return the lowercase patch letter, if this is a patch release.

Source and package
Qualified name
libtmux::version::ReleaseSuffix::patch_letter
Module
version
Declared in
ReleaseSuffix
Package
libtmux
Source
crates/libtmux/src/version.rs
#[must_use] pub fn patch_letter(self) -> Option<char>

Examples

use libtmux::ReleaseSuffix;
assert_eq!(ReleaseSuffix::FINAL.patch_letter(), None);
assert_eq!(ReleaseSuffix::patch('a').and_then(|value| value.patch_letter()), Some('a'));

Same owner

containment 1 of 8 shown

Other members of version.ReleaseSuffix whose names share patch_letter. They sit on the same type; that does not make them behave alike.

All 8 members of ReleaseSuffix

Recorded calls

source calls
No call edges in the Rust model.

The Rust 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 version.ReleaseSuffix.patch_letter.

Esc
Search in

Type to search.

Reference previewOpen reference