Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fadeevab/design-patterns-rust
/ PasteCommand
Class
PasteCommand
behavioral/command/command/paste.rs:7–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5
6
#[derive(Default)]
7
pub struct PasteCommand {
8
backup: String,
9
}
10
11
impl Command for PasteCommand {
12
fn execute(&mut self, app: &mut Cursive) -> bool {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected