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

# Trait AsCtString

Module: `std::meta::ctstring`

```rust
pub trait AsCtString {
    // Required methods
    pub comptime fn as_ctstring(self) -> CtString;
}
```

## Required methods

```rust
pub comptime fn as_ctstring(self) -> CtString
```

## Implementors

```rust
impl<let N: u32, T> AsCtString for fmtstr<N, T>
```

```rust
impl<let N: u32> AsCtString for str<N>
```
