test_docs

Trait TraitWithoutGenerics

source
pub trait TraitWithoutGenerics {
    type T = u32;

    const C: u8 = 0u8;

    // Required method
    fn foo();
}

Provided Associated Constants§

source

const C: u8 = 0u8

Provided Associated Types§

source

type T = u32

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§