pub enum Call {
Invocation(Key, Arguments),
HoInvocation(Key),
Lambda(TreeType, Calls),
Decorator(TreeType, Arguments, Box<Call>),
}
Variants§
Invocation(Key, Arguments)
HoInvocation(Key)
Lambda(TreeType, Calls)
Decorator(TreeType, Arguments, Box<Call>)
Implementations§
source§impl Call
impl Call
pub fn get_ho_invocation(&self) -> Option<Key>
pub fn key(&self) -> Option<Key>
pub fn arguments(&self) -> Arguments
pub fn invocation(id: &str, args: Arguments) -> Self
pub fn ho_invocation(id: &str) -> Self
pub fn lambda(tpe: TreeType, calls: Calls) -> Self
pub fn decorator(tpe: TreeType, args: Arguments, call: Call) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Call
impl<'de> Deserialize<'de> for Call
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 PartialEq<Call> for Call
impl PartialEq<Call> for Call
impl StructuralPartialEq for Call
Auto Trait Implementations§
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnwindSafe for Call
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