Receber por email
← Voltar para o catálogo

ownership-borrowing

Master Rust's ownership, borrowing, and lifetime system for memory-safe code. Use when the user encounters borrow checker errors, lifetime annotations, needs smart pointers (Box/Rc/Arc), works with move semantics, or asks about Clone vs Copy, ownership transfer, and reference management in Rust.

4estrelas
Atualizado há 5 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add VersoXBT/claude-initial-setup

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/ownership-borrowing/svg)](https://www.skillteca.com.br/skills/ownership-borrowing)

Skills relacionadas

Ver todas de DevOps e Infra →

Alerta por categoria

Receba novas skills de DevOps e Infra toda segunda

1 email curto, só com as skills novas de DevOps e Infra. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Rust Ownership and Borrowing

Understand and apply Rust's ownership system to write memory-safe code without a garbage collector. Master borrowing rules, lifetimes, and smart pointers.

When to Use

  • Encountering borrow checker errors ("cannot borrow as mutable")
  • Deciding between references, cloning, and moving
  • Adding lifetime annotations to structs or functions
  • Choosing between Box, Rc, Arc for heap allocation and sharing
  • Understanding when to derive Clone vs Copy

Core Patterns

[Description truncada. Veja o README completo no GitHub.]

Compartilhar X LinkedIn