Re-exports§
pub use super::mir_scan::check_safety;pub use super::name::get_cleaned_def_path_name;
Structs§
Enums§
Functions§
- append_
fn_ with_ types - assoc_
fns_ 🔒of_ self - Associated function
DefIds (inherent impls only) on the struct thatdef_id’s impl block is implemented for. - check_
visibility - get_
adt_ def_ id_ by_ adt_ method - get_
adt_ via_ method - get_
all_ mutable_ methods - Find
&mut selfmethods (mutators) on the same struct assrc_def_id. - get_
all_ std_ fns_ by_ rustc_ public - get_
cons - get_
mutated_ fields - Return field indices that a
&mut selfmethod writes to. - get_
muts - Find
&mut selfmethods (mutators) on the same struct asdef_id. - get_
ptr_ deref_ dummy_ def_ id - get_
type - is_
externally_ reachable - is_
mut_ 🔒self_ method - Returns true when
def_idis a method taking&mut self(a mutator). - is_
self_ 🔒ty - Returns true when
tydenotesSelf: either the genericSelfparam (ty.is_param(0)) or a type equal to the impl’s self type. - parse_
expr_ into_ number - parse expr into number.
- public_
field_ 🔒indices - returns_
wrapped_ self - Returns true when the function is a “wrapped” constructor that returns
Option<Self>/Result<Self, _>rather than a bareSelf. - self_
adt_ 🔒def - The
AdtDefthatdef_id’s impl block is implemented for, if any.