Skip to main content

ty_is_self_or_named

Function ty_is_self_or_named 

Source
fn ty_is_self_or_named(ty: &Type, type_ident: &Ident) -> bool
Expand description

Recursively checks whether ty is Self, &Self, &mut Self, Box<Self>, the named type, or Result<(Self | NamedType), _>.