> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Trait Append

Module: `std::append`

```rust
pub trait Append {
    // Required methods
    pub fn empty() -> Self;
    pub fn append(self, other: Self) -> Self;
}
```

Appends two values together, returning the result.

An alternate name for this trait is `Monoid` if that is familiar. If not, it can be ignored.

It is expected that for any implementation:

- `T::empty().append(x) == x`
- `x.append(T::empty()) == x`

## Required methods

```rust
pub fn empty() -> Self
```

```rust
pub fn append(self, other: Self) -> Self
```

## Implementors

```rust
impl Append for CtString
```

```rust
impl Append for Quoted
```

```rust
impl<T> Append for [T]
```
