pub struct Message {
pub receiver: Box<Expression>,
pub signature: String,
pub values: Vec<Expression>,
}
Expand description
Represents a message send.
Exemple:
"unary message send"
'hello, world' println
"positional message send"
range from: 0 to: 10
"binary operator message send"
value == 3
Fields§
§receiver: Box<Expression>
The object to which the message is sent to.
signature: String
The signature of the message (eg. “ifTrue:ifFalse:”).
values: Vec<Expression>
The list of dynamic values that are passed.
Trait Implementations§
source§impl PartialEq for Message
impl PartialEq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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