pub struct QueryConverter;Expand description
クエリ変換器
Implementations§
Source§impl QueryConverter
impl QueryConverter
Sourcepub fn to_discovery_query(
query: &Query,
) -> Result<ConversionResult, ConvertError>
pub fn to_discovery_query( query: &Query, ) -> Result<ConversionResult, ConvertError>
RyoQL Query → DiscoveryQuery 変換
§Note
以下の機能はDiscoveryQueryでは未対応のため、後処理が必要:
inner条件 (ReturnType, Parameter, Field等)match.is_async,match.is_unsafe等の詳細フィルタmatch.receiver(ReceiverKind)match.attributesmatch.genericsscope.path,scope.exclude_path(ファイルパスフィルタ)resolve(LSP連携)
Auto Trait Implementations§
impl Freeze for QueryConverter
impl RefUnwindSafe for QueryConverter
impl Send for QueryConverter
impl Sync for QueryConverter
impl Unpin for QueryConverter
impl UnsafeUnpin for QueryConverter
impl UnwindSafe for QueryConverter
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> 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