pub struct OperationRegistry { /* private fields */ }Implementations§
Source§impl OperationRegistry
impl OperationRegistry
pub fn builtins() -> Self
pub fn resolve( &self, method: &str, input: &OperandDescriptor, ) -> Option<OperandDescriptor>
pub fn resolve_with_arguments( &self, method: &str, input: &OperandDescriptor, arguments: &[ArgumentDescriptor], ) -> Option<OperandDescriptor>
pub fn method_names(&self) -> impl Iterator<Item = &'static str> + '_
Auto Trait Implementations§
impl Freeze for OperationRegistry
impl RefUnwindSafe for OperationRegistry
impl Send for OperationRegistry
impl Sync for OperationRegistry
impl Unpin for OperationRegistry
impl UnsafeUnpin for OperationRegistry
impl UnwindSafe for OperationRegistry
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