pub enum DiFramework {
Vue,
Svelte,
Angular,
}Expand description
Which framework’s DI API a call site came from (drives the finding message).
Variants§
Vue
Vue provide / inject (from vue / @vue/runtime-core).
Svelte
Svelte setContext / getContext (from svelte).
Angular
Angular inject(TOKEN) / @Inject(TOKEN) (from @angular/core),
matched against { provide: TOKEN, ... } provider objects.
Trait Implementations§
Source§impl Clone for DiFramework
impl Clone for DiFramework
impl Copy for DiFramework
Source§impl Debug for DiFramework
impl Debug for DiFramework
impl<'__de> Decode<'__de> for DiFrameworkwhere
'__de:,
impl Encode for DiFramework
impl Eq for DiFramework
Source§impl PartialEq for DiFramework
impl PartialEq for DiFramework
impl StructuralPartialEq for DiFramework
Auto Trait Implementations§
impl Freeze for DiFramework
impl RefUnwindSafe for DiFramework
impl Send for DiFramework
impl Sync for DiFramework
impl Unpin for DiFramework
impl UnsafeUnpin for DiFramework
impl UnwindSafe for DiFramework
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,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.