ownership-borrowing
Installation
SKILL.md
Ownership & Borrowing Skill
Master Rust's revolutionary memory safety system without garbage collection.
Quick Start
The Three Rules of Ownership
// Rule 1: Each value has exactly ONE owner
let s1 = String::from("hello"); // s1 owns this String
// Rule 2: Only ONE owner at a time
let s2 = s1; // Ownership MOVES to s2
// println!("{}", s1); // ERROR: s1 no longer valid
// Rule 3: Value is dropped when owner goes out of scope
{
let s3 = String::from("temporary");
Related skills
More from pluginagentmarketplace/custom-plugin-rust
rust-wasm
Master WebAssembly with Rust - wasm-pack, wasm-bindgen, and browser integration
46rust-performance
Master Rust performance - profiling, benchmarking, and optimization
12rust-docker
Master Docker containerization for Rust applications
5rust-cli
Build professional CLI applications with clap and TUI
4rust-testing
Master Rust testing - unit tests, integration tests, mocking, and TDD
4cargo-ecosystem
Master Cargo, testing, and Rust development tools
4