pub struct SwitchNode {
pub condition: Box<Node>,
pub body: Box<Node>,
pub is_short: bool,
}Fields§
§condition: Box<Node>§body: Box<Node>§is_short: boolImplementations§
Trait Implementations§
Source§impl Clone for SwitchNode
impl Clone for SwitchNode
Source§fn clone(&self) -> SwitchNode
fn clone(&self) -> SwitchNode
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 SwitchNode
impl Debug for SwitchNode
Source§impl<'de> Deserialize<'de> for SwitchNode
impl<'de> Deserialize<'de> for SwitchNode
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 SwitchNode
impl PartialEq for SwitchNode
Source§impl Serialize for SwitchNode
impl Serialize for SwitchNode
impl StructuralPartialEq for SwitchNode
Auto Trait Implementations§
impl Freeze for SwitchNode
impl RefUnwindSafe for SwitchNode
impl Send for SwitchNode
impl Sync for SwitchNode
impl Unpin for SwitchNode
impl UnwindSafe for SwitchNode
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