pub struct BoundCall { /* private fields */ }Expand description
The complete result of binding a call signature.
Implementations§
Source§impl BoundCall
impl BoundCall
Sourcepub fn get(&self, name: &Symbol) -> Option<&Value>
pub fn get(&self, name: &Symbol) -> Option<&Value>
Returns the value assigned to a declared parameter.
Sourcepub fn positional_remainder(&self) -> &[Value]
pub fn positional_remainder(&self) -> &[Value]
Returns unmatched positional values collected by a variadic partition.
Sourcepub fn named_remainder(&self) -> &BTreeMap<Symbol, Value>
pub fn named_remainder(&self) -> &BTreeMap<Symbol, Value>
Returns unmatched named values in stable name order.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BoundCall
impl !UnwindSafe for BoundCall
impl Freeze for BoundCall
impl Send for BoundCall
impl Sync for BoundCall
impl Unpin for BoundCall
impl UnsafeUnpin for BoundCall
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