pub struct EnclosingCallFact {
pub verb: String,
pub arg_position: usize,
pub arg_count: usize,
}Expand description
The enclosing invocation a publish call’s own lambda sits inside, when
it sits inside one at all. See PublishRecord::enclosing_call.
Fields§
§verb: StringThe enclosing invocation’s own callee bare name.
arg_position: usizeThe 0-based position the lambda occupies among the enclosing invocation’s arguments.
arg_count: usizeThe enclosing invocation’s own total argument count.
Trait Implementations§
Source§impl Clone for EnclosingCallFact
impl Clone for EnclosingCallFact
Source§impl Debug for EnclosingCallFact
impl Debug for EnclosingCallFact
Source§impl PartialEq for EnclosingCallFact
impl PartialEq for EnclosingCallFact
impl StructuralPartialEq for EnclosingCallFact
Auto Trait Implementations§
impl Freeze for EnclosingCallFact
impl RefUnwindSafe for EnclosingCallFact
impl Send for EnclosingCallFact
impl Sync for EnclosingCallFact
impl Unpin for EnclosingCallFact
impl UnsafeUnpin for EnclosingCallFact
impl UnwindSafe for EnclosingCallFact
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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