---
# System prepended metadata

title: Rust stuff

---

# Rust stuff

```rust
impl<Digest: ToDigest<Digest>> Chunk<Digest> {
    ...
}

impl Chunk<Blake3Hash> {
    pub fn hash(&self) -> Blake3Hash {
        self.to_digest()
    }
}

// impl ToDigest<Blake3Hash> for Chunk<Blake3Hash> { ... }
```