pub trait PunctExt: Sized {
// Required method
fn punct(self, spacing: Spacing) -> Punct;
// Provided methods
fn joint(self) -> Punct { ... }
fn alone(self) -> Punct { ... }
}
Required Methods§
Provided Methods§
Sourcefn joint(self) -> Punct
fn joint(self) -> Punct
Like .punct(Joint)
Sourcefn alone(self) -> Punct
fn alone(self) -> Punct
Like .punct(Alone)
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.