Trait from_attr::AttributeIdent

source ·
pub trait AttributeIdent {
    const IDENTS: &'static [&'static str];

    // Provided method
    fn is_ident(path: &Path) -> bool { ... }
}
Expand description

Helper trait for holding idents.

Required Associated Constants§

source

const IDENTS: &'static [&'static str]

Holds the idents.

Provided Methods§

source

fn is_ident(path: &Path) -> bool

Check if path exists in the idents.

Object Safety§

This trait is not object safe.

Implementors§