pub struct NodeAttr {
pub name: String,
pub jump_back: bool,
pub anchor: bool,
}Expand description
Node attribute for specifying behavior in next and on_error lists.
Allows setting additional control parameters when referencing nodes.
Fields§
§name: StringNode name to reference.
jump_back: boolWhether to return to this node after the referenced node completes.
anchor: boolWhether to use an anchor reference.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeAttr
impl<'de> Deserialize<'de> for NodeAttr
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
Auto Trait Implementations§
impl Freeze for NodeAttr
impl RefUnwindSafe for NodeAttr
impl Send for NodeAttr
impl Sync for NodeAttr
impl Unpin for NodeAttr
impl UnwindSafe for NodeAttr
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