Trait PunctExt

Source
pub trait PunctExt: Sized {
    // Required method
    fn punct(self, spacing: Spacing) -> Punct;

    // Provided methods
    fn joint(self) -> Punct { ... }
    fn alone(self) -> Punct { ... }
}

Required Methods§

Source

fn punct(self, spacing: Spacing) -> Punct

Provided Methods§

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.

Implementations on Foreign Types§

Source§

impl PunctExt for char

Source§

fn punct(self, spacing: Spacing) -> Punct

Implementors§