Skip to main content

describe_constraint_at

Function describe_constraint_at 

pub fn describe_constraint_at(source: &str, offset: usize) -> Option<String>
Expand description

Constrained generics slice 1: hover for a constraint name in a bound (T: Ord, where A: Eq) or a derives clause. None for any other identifier, so a type that happens to be named Ord keeps its own hover.