#[non_exhaustive]pub struct HiddenLineError {
pub mesh: Option<MeshId>,
pub error: GeomError,
}Expand description
A refused hidden-line request: the GeomError and, when one input mesh
is at fault, which.
A consumer that drops elements one at a time reads mesh
instead of parsing text. mesh is None for refusals of the whole
request: limits, frame, near/far, crease threshold, region, an empty mesh
list, memory, cancellation and a missing provider. The inner message does
not repeat the mesh id; Display prefixes it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mesh: Option<MeshId>The input mesh the refusal is about, if it is about one.
error: GeomErrorWhy the request was refused.
Implementations§
Trait Implementations§
Source§impl Clone for HiddenLineError
impl Clone for HiddenLineError
Source§fn clone(&self) -> HiddenLineError
fn clone(&self) -> HiddenLineError
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 HiddenLineError
impl Debug for HiddenLineError
Source§impl Display for HiddenLineError
impl Display for HiddenLineError
Source§impl Error for HiddenLineError
impl Error for HiddenLineError
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()
Source§impl From<GeomError> for HiddenLineError
impl From<GeomError> for HiddenLineError
Source§impl PartialEq for HiddenLineError
impl PartialEq for HiddenLineError
impl StructuralPartialEq for HiddenLineError
Auto Trait Implementations§
impl Freeze for HiddenLineError
impl RefUnwindSafe for HiddenLineError
impl Send for HiddenLineError
impl Sync for HiddenLineError
impl Unpin for HiddenLineError
impl UnsafeUnpin for HiddenLineError
impl UnwindSafe for HiddenLineError
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