Skip to main content

limbo_sqlite3_parser/parser/ast/
distinctnames_traits.rs

1//! # `DistinctNames` - Trait Implementations
2//!
3//! This module contains trait implementations for `DistinctNames`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Deref`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use indexmap::IndexSet;
12use std::ops::Deref;
13
14use super::types::{DistinctNames, Name};
15
16impl Deref for DistinctNames {
17    type Target = IndexSet<Name>;
18
19    fn deref(&self) -> &IndexSet<Name> {
20        &self.0
21    }
22}