#[non_exhaustive]pub struct IndirectCallExpr {
pub method: String,
pub arg_count: usize,
pub object_kind: &'static str,
}Expand description
Indirect-object call shell payload.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.method: StringMethod name.
arg_count: usizeNumber of parsed arguments.
object_kind: &'static strParser AST kind for the receiver/class expression.
Trait Implementations§
Source§impl Clone for IndirectCallExpr
impl Clone for IndirectCallExpr
Source§fn clone(&self) -> IndirectCallExpr
fn clone(&self) -> IndirectCallExpr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndirectCallExpr
impl Debug for IndirectCallExpr
Source§impl PartialEq for IndirectCallExpr
impl PartialEq for IndirectCallExpr
Source§fn eq(&self, other: &IndirectCallExpr) -> bool
fn eq(&self, other: &IndirectCallExpr) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IndirectCallExpr
impl StructuralPartialEq for IndirectCallExpr
Auto Trait Implementations§
impl Freeze for IndirectCallExpr
impl RefUnwindSafe for IndirectCallExpr
impl Send for IndirectCallExpr
impl Sync for IndirectCallExpr
impl Unpin for IndirectCallExpr
impl UnsafeUnpin for IndirectCallExpr
impl UnwindSafe for IndirectCallExpr
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