command.CommandChain.command_count
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- command
- Declared in
- CommandChain
- Package
- libtmux
- Source
- crates/libtmux/src/command.rs
-
Return the number of commands in the chain, always at least one.
Examples
use libtmux::{Command, CommandChain};let chain = CommandChain::new(Command::new("list-panes"));assert_eq!(chain.command_count(), 1);
0 declared, 0 inherited