pub enum DerivedShapeProblem {
Scalar(Name),
NoConstructors(Name),
UnitHasNoElement(Name),
}Expand description
What is wrong with the type a derived instance is for, that it has no shape to walk —
see Error::DerivedInstanceNoShape.
Variants§
Scalar(Name)
A scalar type has no shape for a walk to read, so its instances are written: the type.
NoConstructors(Name)
A type whose constructors are not in scope — one imported without them: the type.
UnitHasNoElement(Name)
() for a class with a member whose derivation walks one value, which has no
element to begin at: the class.
Trait Implementations§
Source§impl Clone for DerivedShapeProblem
impl Clone for DerivedShapeProblem
Source§fn clone(&self) -> DerivedShapeProblem
fn clone(&self) -> DerivedShapeProblem
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 DerivedShapeProblem
impl Debug for DerivedShapeProblem
Source§impl PartialEq for DerivedShapeProblem
impl PartialEq for DerivedShapeProblem
impl StructuralPartialEq for DerivedShapeProblem
Auto Trait Implementations§
impl Freeze for DerivedShapeProblem
impl RefUnwindSafe for DerivedShapeProblem
impl Send for DerivedShapeProblem
impl Sync for DerivedShapeProblem
impl Unpin for DerivedShapeProblem
impl UnsafeUnpin for DerivedShapeProblem
impl UnwindSafe for DerivedShapeProblem
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