pub enum QueryKind {
Show 18 variants
Any,
Function,
Struct,
Enum,
Trait,
Impl,
Mod,
Const,
Static,
TypeAlias,
ReturnType,
Parameter,
Field,
Variant,
Or,
And,
Pattern,
Literal,
}Expand description
クエリ対象の種類
Variants§
Any
全種類を検索(初回探索用)
Function
Free functions のみ。impl内のメソッド (Method) は含まない。 Method単体をクエリする機能は未対応。
Struct
struct 定義。
Enum
enum 定義。
Trait
trait 定義。
Impl
impl ブロック。
Mod
mod 定義。
Const
const 定義。
Static
static 定義。
TypeAlias
type エイリアス定義。
ReturnType
戻り値型 (inner クエリ用)。
Parameter
関数パラメータ (inner クエリ用)。
Field
struct フィールド (inner クエリ用)。
Variant
enum バリアント (inner クエリ用)。
Or
子クエリの和集合。
And
子クエリの積集合。
Pattern
事前定義パターンによる検索。
Literal
リテラル検索(文字列、数値、真偽値等) requires: literal-search feature in ryo-analysis
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QueryKind
impl<'de> Deserialize<'de> for QueryKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for QueryKind
impl JsonSchema for QueryKind
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl Copy for QueryKind
impl Eq for QueryKind
impl StructuralPartialEq for QueryKind
Auto Trait Implementations§
impl Freeze for QueryKind
impl RefUnwindSafe for QueryKind
impl Send for QueryKind
impl Sync for QueryKind
impl Unpin for QueryKind
impl UnsafeUnpin for QueryKind
impl UnwindSafe for QueryKind
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<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.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