Struct StructureError
pub struct StructureError(pub String);Expand description
A piece’s placement failed; the generation of that piece stops there, as a
piece’s own Result does in the engine.
Tuple Fields§
§0: StringTrait Implementations§
§impl Debug for StructureError
impl Debug for StructureError
§impl Display for StructureError
impl Display for StructureError
§impl Error for StructureError
impl Error for StructureError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
§impl From<(Identifier, String)> for StructureError
impl From<(Identifier, String)> for StructureError
§fn from(_: (Identifier, String)) -> StructureError
fn from(_: (Identifier, String)) -> StructureError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StructureError
impl RefUnwindSafe for StructureError
impl Send for StructureError
impl Sync for StructureError
impl Unpin for StructureError
impl UnsafeUnpin for StructureError
impl UnwindSafe for StructureError
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