Enum forester_rs::tree::parser::ast::arg::ArgumentRhs
source · pub enum ArgumentRhs {
Id(Key),
Mes(Message),
Call(Call),
}
Expand description
The right part of the argument
Variants§
Id(Key)
A pointer to the bb key or the parameter from the parent tree
Mes(Message)
A scalar value
Call(Call)
A call to a tree
Implementations§
Trait Implementations§
source§impl Clone for ArgumentRhs
impl Clone for ArgumentRhs
source§fn clone(&self) -> ArgumentRhs
fn clone(&self) -> ArgumentRhs
Returns a copy 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 ArgumentRhs
impl Debug for ArgumentRhs
source§impl<'de> Deserialize<'de> for ArgumentRhs
impl<'de> Deserialize<'de> for ArgumentRhs
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 Display for ArgumentRhs
impl Display for ArgumentRhs
source§impl PartialEq for ArgumentRhs
impl PartialEq for ArgumentRhs
source§fn eq(&self, other: &ArgumentRhs) -> bool
fn eq(&self, other: &ArgumentRhs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArgumentRhs
impl Serialize for ArgumentRhs
impl StructuralPartialEq for ArgumentRhs
Auto Trait Implementations§
impl RefUnwindSafe for ArgumentRhs
impl Send for ArgumentRhs
impl Sync for ArgumentRhs
impl Unpin for ArgumentRhs
impl UnwindSafe for ArgumentRhs
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