pub struct MethodCall {
pub target: Option<Box<Expression>>,
pub name: String,
pub arguments: Vec<Expression>,
}Expand description
方法调用
Fields§
§target: Option<Box<Expression>>调用目标 (可选,如 System.out)
name: String方法名
arguments: Vec<Expression>参数
Trait Implementations§
Source§impl Clone for MethodCall
impl Clone for MethodCall
Source§fn clone(&self) -> MethodCall
fn clone(&self) -> MethodCall
Returns a duplicate of the value. Read more
1.0.0 · 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 MethodCall
impl Debug for MethodCall
Source§impl<'de> Deserialize<'de> for MethodCall
impl<'de> Deserialize<'de> for MethodCall
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 for MethodCall
impl PartialEq for MethodCall
Source§impl Serialize for MethodCall
impl Serialize for MethodCall
impl StructuralPartialEq for MethodCall
Auto Trait Implementations§
impl Freeze for MethodCall
impl RefUnwindSafe for MethodCall
impl Send for MethodCall
impl Sync for MethodCall
impl Unpin for MethodCall
impl UnwindSafe for MethodCall
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