Struct stc_ts_file_analyzer::analyzer::stmt::return_type::KeyInliner
source · [−]struct KeyInliner<'a, 'b, 'c> {
analyzer: &'a mut Analyzer<'b, 'c>,
}
Expand description
Example
declare type S2 = {
a: string;
b: string;
};
T[keyof S2];
// becomes
T["a" | "b"]
Fields
analyzer: &'a mut Analyzer<'b, 'c>
Trait Implementations
Auto Trait Implementations
impl<'a, 'b, 'c> !RefUnwindSafe for KeyInliner<'a, 'b, 'c>
impl<'a, 'b, 'c> !Send for KeyInliner<'a, 'b, 'c>
impl<'a, 'b, 'c> !Sync for KeyInliner<'a, 'b, 'c>
impl<'a, 'b, 'c> Unpin for KeyInliner<'a, 'b, 'c>where
'b: 'a,
'c: 'a,
impl<'a, 'b, 'c> !UnwindSafe for KeyInliner<'a, 'b, 'c>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more