pub enum ResultFragment<'a> {
Source(&'a str),
Named {
name: &'a str,
source: &'a str,
},
}Expand description
One step of ResultSpec::walk_fragments. Either a
string-shape source block (compile as a Polydat module) or a
map-shape (name, source) pair (compile as a single
name := source binding).
Variants§
Auto Trait Implementations§
impl<'a> Freeze for ResultFragment<'a>
impl<'a> RefUnwindSafe for ResultFragment<'a>
impl<'a> Send for ResultFragment<'a>
impl<'a> Sync for ResultFragment<'a>
impl<'a> Unpin for ResultFragment<'a>
impl<'a> UnsafeUnpin for ResultFragment<'a>
impl<'a> UnwindSafe for ResultFragment<'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