pub enum UnfoldDeclError {
DuplicateDeconstructor {
target: String,
},
DuplicateOutput {
func: Ident,
target: DeconTarget,
},
}Expand description
One structurally invalid output-expansion declaration (see
UnfoldError::InvalidDeclarations). Note that EMPTY record lists are
deliberately not diagnosed here — an empty inline list is the valid
whole-element (Vec<T> per-element) delivery form.
Variants§
DuplicateDeconstructor
Two deconstructor declarations for the same target type.
DuplicateOutput
Two per-fn output expansions for the same fn and position.
Trait Implementations§
Source§impl Debug for UnfoldDeclError
impl Debug for UnfoldDeclError
Auto Trait Implementations§
impl !Send for UnfoldDeclError
impl !Sync for UnfoldDeclError
impl Freeze for UnfoldDeclError
impl RefUnwindSafe for UnfoldDeclError
impl Unpin for UnfoldDeclError
impl UnsafeUnpin for UnfoldDeclError
impl UnwindSafe for UnfoldDeclError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more