pub enum Query {
Show 14 variants
ListItems,
GetType {
path: String,
},
GetTraitImpls {
type_path: String,
},
GetInherentImpls {
type_path: String,
},
GetFields {
type_path: String,
},
GetLayout {
type_path: String,
},
GetTraits,
GetTrait {
path: String,
},
FindTypes {
pattern: String,
},
ResolveAlias {
path: String,
},
CheckImpl {
type_path: String,
trait_path: String,
},
GetImplementors {
trait_path: String,
},
Ping,
Shutdown,
}Expand description
Available queries for type system introspection.
Variantsยง
ListItems
List all items in the crate
GetType
Get detailed information about a specific type
GetTraitImpls
Get all trait implementations for a type
GetInherentImpls
Get inherent impl blocks for a type (impl Foo { โฆ })
GetFields
Get all fields of a struct or enum variant
GetLayout
Get memory layout information for a type
GetTraits
Get all traits defined in the crate
GetTrait
Get detailed information about a trait
FindTypes
Find types matching a path pattern (e.g., โbevy::prelude::*โ)
ResolveAlias
Resolve a type alias to its underlying type
CheckImpl
Check if a type implements a trait
GetImplementors
Get all types that implement a specific trait
Ping
Ping to check if daemon is alive
Shutdown
Request the daemon to shut down
Trait Implementationsยง
Sourceยงimpl<'de> Deserialize<'de> for Query
impl<'de> Deserialize<'de> for Query
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
Auto Trait Implementationsยง
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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