Enum ra_ap_hir_def::find_path::PrefixKind [−][src]
pub enum PrefixKind { BySelf, Plain, ByCrate, }
Variants
Causes paths to always start with either self
, super
, crate
or a crate-name.
This is the same as plain, just that paths will start with self
iprepended f the path
starts with an identifier that is not a crate.
Causes paths to ignore imports in the local module.
Causes paths to start with crate
where applicable, effectively forcing paths to be absolute.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PrefixKind
impl Send for PrefixKind
impl Sync for PrefixKind
impl Unpin for PrefixKind
impl UnwindSafe for PrefixKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.