pub struct OutputRule {
pub anchor: Option<String>,
pub on_conflict: OnConflict,
}Expand description
Where a macro’s results go.
Fields§
§anchor: Option<String>What the Output token stands for: a token (Input.offset(0,4)), a reference or Name:X.
on_conflict: OnConflictWhat to do when the cells the macro writes, outside its inputs, already hold data.
Trait Implementations§
Source§impl Clone for OutputRule
impl Clone for OutputRule
Source§fn clone(&self) -> OutputRule
fn clone(&self) -> OutputRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutputRule
impl Debug for OutputRule
Source§impl Default for OutputRule
impl Default for OutputRule
Source§fn default() -> OutputRule
fn default() -> OutputRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputRulewhere
OutputRule: Default,
impl<'de> Deserialize<'de> for OutputRulewhere
OutputRule: Default,
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 OutputRule
impl PartialEq for OutputRule
Source§impl Serialize for OutputRule
impl Serialize for OutputRule
impl StructuralPartialEq for OutputRule
Auto Trait Implementations§
impl Freeze for OutputRule
impl RefUnwindSafe for OutputRule
impl Send for OutputRule
impl Sync for OutputRule
impl Unpin for OutputRule
impl UnsafeUnpin for OutputRule
impl UnwindSafe for OutputRule
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