pub struct PathOperationError;Expand description
PathOperationError is the failure of Path::combine: Skia’s Op
returned no path for these inputs.
Skia gives up when it cannot resolve the curves’ intersections or windings
consistently, which happens for some near-coincident or degenerate
geometry; no partial result is given. dart:ui’s Path.combine throws in
that case.
PathOpsError is the failure of a path operation: Skia’s Op or Simplify returned no
path.
Skia gives up when it cannot resolve the curves’ intersections or windings consistently, which happens for some near-coincident or degenerate geometry. No partial result is given.
Trait Implementations§
Source§impl Clone for PathOpsError
impl Clone for PathOpsError
Source§fn clone(&self) -> PathOpsError
fn clone(&self) -> PathOpsError
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 moreimpl Copy for PathOpsError
Source§impl Debug for PathOpsError
impl Debug for PathOpsError
Source§impl Default for PathOpsError
impl Default for PathOpsError
Source§fn default() -> PathOpsError
fn default() -> PathOpsError
Returns the “default value” for a type. Read more
Source§impl Display for PathOpsError
impl Display for PathOpsError
impl Eq for PathOpsError
Source§impl Error for PathOpsError
impl Error for PathOpsError
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()
Source§impl Hash for PathOpsError
impl Hash for PathOpsError
Source§impl PartialEq for PathOpsError
impl PartialEq for PathOpsError
impl StructuralPartialEq for PathOpsError
Auto Trait Implementations§
impl Forget for PathOpsError
impl Freeze for PathOpsError
impl Move for PathOpsError
impl RefUnwindSafe for PathOpsError
impl Send for PathOpsError
impl Sync for PathOpsError
impl Unpin for PathOpsError
impl UnsafeUnpin for PathOpsError
impl UnwindSafe for PathOpsError
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