pub trait SpacingExt: ProcMacroExt<SpacingExt = Self> + Spacing {
// Provided methods
fn is_joint(&self) -> bool { ... }
fn is_alone(&self) -> bool { ... }
}
Expand description
Extensions for Spacing
.
This trait is implemented for Spacing
in proc_macro
and proc_macro2
if the
corresponding feature is enabled.
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§
impl SpacingExt for Spacing
Available on crate feature
proc-macro
only.impl SpacingExt for Spacing
Available on crate feature
proc-macro2
only.