Skip to main content

LocateGroup

Trait LocateGroup 

Source
pub trait LocateGroup {
    // Required methods
    fn locate_as_group(
        &self,
        locator: &mut Locator,
        file_path: FilePath,
        code: &str,
        offset: usize,
    ) -> Location;
    fn relocate_as_group(&self, locator: &mut Locator, loc: Location);
}

Required Methods§

Source

fn locate_as_group( &self, locator: &mut Locator, file_path: FilePath, code: &str, offset: usize, ) -> Location

Source

fn relocate_as_group(&self, locator: &mut Locator, loc: Location)

Implementations on Foreign Types§

Source§

impl LocateGroup for ()

Source§

fn locate_as_group( &self, _: &mut Locator, file_path: FilePath, _code: &str, offset: usize, ) -> Location

Source§

fn relocate_as_group(&self, _: &mut Locator, _: Location)

Source§

impl<'a, A0: Locate, A1: Locate> LocateGroup for (&'a A0, &'a A1)

Source§

fn locate_as_group( &self, locator: &mut Locator, file_path: FilePath, code: &str, offset: usize, ) -> Location

Source§

fn relocate_as_group(&self, locator: &mut Locator, loc: Location)

Source§

impl<'a, A0: Locate, A1: Locate, A2: Locate> LocateGroup for (&'a A0, &'a A1, &'a A2)

Source§

fn locate_as_group( &self, locator: &mut Locator, file_path: FilePath, code: &str, offset: usize, ) -> Location

Source§

fn relocate_as_group(&self, locator: &mut Locator, loc: Location)

Source§

impl<'a, A0: Locate, A1: Locate, A2: Locate, A3: Locate> LocateGroup for (&'a A0, &'a A1, &'a A2, &'a A3)

Source§

fn locate_as_group( &self, locator: &mut Locator, file_path: FilePath, code: &str, offset: usize, ) -> Location

Source§

fn relocate_as_group(&self, locator: &mut Locator, loc: Location)

Source§

impl<'a, A0: Locate, A1: Locate, A2: Locate, A3: Locate, A4: Locate> LocateGroup for (&'a A0, &'a A1, &'a A2, &'a A3, &'a A4)

Source§

fn locate_as_group( &self, locator: &mut Locator, file_path: FilePath, code: &str, offset: usize, ) -> Location

Source§

fn relocate_as_group(&self, locator: &mut Locator, loc: Location)

Source§

impl<'a, A0: Locate, A1: Locate, A2: Locate, A3: Locate, A4: Locate, A5: Locate> LocateGroup for (&'a A0, &'a A1, &'a A2, &'a A3, &'a A4, &'a A5)

Source§

fn locate_as_group( &self, locator: &mut Locator, file_path: FilePath, code: &str, offset: usize, ) -> Location

Source§

fn relocate_as_group(&self, locator: &mut Locator, loc: Location)

Source§

impl<'a, A0: Locate, A1: Locate, A2: Locate, A3: Locate, A4: Locate, A5: Locate, A6: Locate> LocateGroup for (&'a A0, &'a A1, &'a A2, &'a A3, &'a A4, &'a A5, &'a A6)

Source§

fn locate_as_group( &self, locator: &mut Locator, file_path: FilePath, code: &str, offset: usize, ) -> Location

Source§

fn relocate_as_group(&self, locator: &mut Locator, loc: Location)

Source§

impl<'a, A0: Locate, A1: Locate, A2: Locate, A3: Locate, A4: Locate, A5: Locate, A6: Locate, A7: Locate> LocateGroup for (&'a A0, &'a A1, &'a A2, &'a A3, &'a A4, &'a A5, &'a A6, &'a A7)

Source§

fn locate_as_group( &self, locator: &mut Locator, file_path: FilePath, code: &str, offset: usize, ) -> Location

Source§

fn relocate_as_group(&self, locator: &mut Locator, loc: Location)

Source§

impl<'a, A0: Locate, A1: Locate, A2: Locate, A3: Locate, A4: Locate, A5: Locate, A6: Locate, A7: Locate, A8: Locate> LocateGroup for (&'a A0, &'a A1, &'a A2, &'a A3, &'a A4, &'a A5, &'a A6, &'a A7, &'a A8)

Source§

fn locate_as_group( &self, locator: &mut Locator, file_path: FilePath, code: &str, offset: usize, ) -> Location

Source§

fn relocate_as_group(&self, locator: &mut Locator, loc: Location)

Source§

impl<'a, A0: Locate, A1: Locate, A2: Locate, A3: Locate, A4: Locate, A5: Locate, A6: Locate, A7: Locate, A8: Locate, A9: Locate> LocateGroup for (&'a A0, &'a A1, &'a A2, &'a A3, &'a A4, &'a A5, &'a A6, &'a A7, &'a A8, &'a A9)

Source§

fn locate_as_group( &self, locator: &mut Locator, file_path: FilePath, code: &str, offset: usize, ) -> Location

Source§

fn relocate_as_group(&self, locator: &mut Locator, loc: Location)

Source§

impl<'a, A0: Locate, A1: Locate, A2: Locate, A3: Locate, A4: Locate, A5: Locate, A6: Locate, A7: Locate, A8: Locate, A9: Locate, A10: Locate> LocateGroup for (&'a A0, &'a A1, &'a A2, &'a A3, &'a A4, &'a A5, &'a A6, &'a A7, &'a A8, &'a A9, &'a A10)

Source§

fn locate_as_group( &self, locator: &mut Locator, file_path: FilePath, code: &str, offset: usize, ) -> Location

Source§

fn relocate_as_group(&self, locator: &mut Locator, loc: Location)

Source§

impl<'a, A0: Locate, A1: Locate, A2: Locate, A3: Locate, A4: Locate, A5: Locate, A6: Locate, A7: Locate, A8: Locate, A9: Locate, A10: Locate, A11: Locate> LocateGroup for (&'a A0, &'a A1, &'a A2, &'a A3, &'a A4, &'a A5, &'a A6, &'a A7, &'a A8, &'a A9, &'a A10, &'a A11)

Source§

fn locate_as_group( &self, locator: &mut Locator, file_path: FilePath, code: &str, offset: usize, ) -> Location

Source§

fn relocate_as_group(&self, locator: &mut Locator, loc: Location)

Source§

impl<T: Locate> LocateGroup for &T

Source§

fn locate_as_group( &self, locator: &mut Locator, file_path: FilePath, code: &str, offset: usize, ) -> Location

Source§

fn relocate_as_group(&self, locator: &mut Locator, loc: Location)

Implementors§