pub enum BlockSpec<'a> {
Output {
lhs: &'a str,
rhs: Rhs<'a>,
},
Input {
lhs: &'a str,
rhs: Rhs<'a>,
},
Param {
lhs: &'a str,
rhs: Rhs<'a>,
dot: bool,
},
Module {
name: Ident<'a>,
},
}
Expand description
One part of the header of a TasklikeBlock
.
Ducttape had an additional spec type: package (syntax: ‘: package_name’).
Variants§
Trait Implementations§
impl<'a> Eq for BlockSpec<'a>
impl<'a> StructuralPartialEq for BlockSpec<'a>
Auto Trait Implementations§
impl<'a> Freeze for BlockSpec<'a>
impl<'a> RefUnwindSafe for BlockSpec<'a>
impl<'a> Send for BlockSpec<'a>
impl<'a> Sync for BlockSpec<'a>
impl<'a> Unpin for BlockSpec<'a>
impl<'a> UnwindSafe for BlockSpec<'a>
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