Skip to main content

Literal

Trait Literal 

Source
pub trait Literal:
    Default
    + Clone
    + Copy {
    const LITERAL: &[u8];
}

Required Associated Constants§

Source

const LITERAL: &[u8]

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§