Struct fj::Difference2d
source · #[repr(C)]pub struct Difference2d { /* private fields */ }
Expand description
A difference between two shapes
Examples
Convenient syntax for this operation is available through crate::syntax
.
use fj::syntax::*;
// `a` and `b` can be anything that converts to `fj::Shape2d`
let difference = a.difference(&b);
Implementations§
Trait Implementations§
source§impl Clone for Difference2d
impl Clone for Difference2d
source§fn clone(&self) -> Difference2d
fn clone(&self) -> Difference2d
Returns a copy of the value. Read more
1.0.0 · 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 Difference2d
impl Debug for Difference2d
source§impl From<Difference2d> for Shape
impl From<Difference2d> for Shape
source§fn from(shape: Difference2d) -> Self
fn from(shape: Difference2d) -> Self
Converts to this type from the input type.
source§impl From<Difference2d> for Shape2d
impl From<Difference2d> for Shape2d
source§fn from(shape: Difference2d) -> Self
fn from(shape: Difference2d) -> Self
Converts to this type from the input type.
source§impl PartialEq<Difference2d> for Difference2d
impl PartialEq<Difference2d> for Difference2d
source§fn eq(&self, other: &Difference2d) -> bool
fn eq(&self, other: &Difference2d) -> bool
impl StructuralPartialEq for Difference2d
Auto Trait Implementations§
impl RefUnwindSafe for Difference2d
impl Send for Difference2d
impl Sync for Difference2d
impl Unpin for Difference2d
impl UnwindSafe for Difference2d
Blanket Implementations§
source§impl<T> Difference for Twhere
T: Clone + Into<Shape2d>,
impl<T> Difference for Twhere
T: Clone + Into<Shape2d>,
source§fn difference<Other>(&self, other: &Other) -> Difference2dwhere
Other: Clone + Into<Shape2d>,
fn difference<Other>(&self, other: &Other) -> Difference2dwhere
Other: Clone + Into<Shape2d>,
Create a difference between
self
and other