pub trait Dialect: Debug {
// Required methods
fn is_identifier_start(&self, ch: char) -> bool;
fn is_identifier_part(&self, ch: char) -> bool;
fn name(&self) -> &'static str;
}Expand description
SQL方言ごとのカスタマイズポイントを提供するトrait。
Required Methods§
Sourcefn is_identifier_start(&self, ch: char) -> bool
fn is_identifier_start(&self, ch: char) -> bool
識別子の先頭として利用可能な文字かを判定する。
Sourcefn is_identifier_part(&self, ch: char) -> bool
fn is_identifier_part(&self, ch: char) -> bool
識別子の残りの文字として利用可能な文字かを判定する。
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".