Trait proclet::Spacing

source ·
pub trait Spacing: ProcMacro<Spacing = Self> + Copy + Eq {
    const Joint: Self;
    const Alone: Self;
}
Expand description

Spacing API trait. See proc_macro::Spacing.

This trait is implemented for Spacing in proc_macro and proc_macro2 if the corresponding feature is enabled.

See also SpacingExt.

Required Associated Constants§

source

const Joint: Self

proc_macro*::Spacing::Joint.

source

const Alone: Self

proc_macro*::Spacing::Alone.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Spacing for Spacing

Available on crate feature proc-macro only.
source§

const Joint: Self = Self::Joint

source§

const Alone: Self = Self::Alone

source§

impl Spacing for Spacing

Available on crate feature proc-macro2 only.
source§

const Joint: Self = Self::Joint

source§

const Alone: Self = Self::Alone

Implementors§