pub enum GeneratorIssue {
Invalid,
Shape(ShapeIssue),
Layout(LayoutIssue),
}Expand description
Why a generator is invalid.
Variants§
Invalid
A fill’s or a text’s field is out of range.
Shape(ShapeIssue)
A problem in a shapes generator’s content tree, or in a layout’s shape node (its path from the layout’s root).
Layout(LayoutIssue)
A problem in a layout tree.
Trait Implementations§
Source§impl Clone for GeneratorIssue
impl Clone for GeneratorIssue
Source§impl Debug for GeneratorIssue
impl Debug for GeneratorIssue
impl Eq for GeneratorIssue
Source§impl From<LayoutIssue> for GeneratorIssue
impl From<LayoutIssue> for GeneratorIssue
Source§fn from(issue: LayoutIssue) -> Self
fn from(issue: LayoutIssue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GeneratorIssue
impl PartialEq for GeneratorIssue
impl StructuralPartialEq for GeneratorIssue
Auto Trait Implementations§
impl Freeze for GeneratorIssue
impl RefUnwindSafe for GeneratorIssue
impl Send for GeneratorIssue
impl Sync for GeneratorIssue
impl Unpin for GeneratorIssue
impl UnsafeUnpin for GeneratorIssue
impl UnwindSafe for GeneratorIssue
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