pub struct TsAliasScopes { /* private fields */ }Expand description
A repo’s tsconfig alias reading, scoped per directory.
root is the repo-root chain (see read_ts_path_aliases), and nested
is every directory below it that owns a tsconfig.json declaring paths
or baseUrl of its own, longest directory first so the nearest ancestor
is always checked before a shallower one. Built by read_ts_alias_scopes.
Trait Implementations§
Source§impl Clone for TsAliasScopes
impl Clone for TsAliasScopes
Source§impl Debug for TsAliasScopes
impl Debug for TsAliasScopes
Auto Trait Implementations§
impl Freeze for TsAliasScopes
impl RefUnwindSafe for TsAliasScopes
impl Send for TsAliasScopes
impl Sync for TsAliasScopes
impl Unpin for TsAliasScopes
impl UnsafeUnpin for TsAliasScopes
impl UnwindSafe for TsAliasScopes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more