Skip to main content

target_at

Function target_at 

Source
fn target_at<'a>(
    locals: &'a [LocalBinding],
    text: &str,
    offset: usize,
) -> Option<&'a LocalBinding>
Expand description

The binding the cursor refers to — whether it sits on the definition name or on a use — within locals (a file’s bindings).