Struct fj::Difference2d
source · [−]#[repr(C)]pub struct Difference2d { /* private fields */ }
Expand description
A difference between two shapes
Implementations
Trait Implementations
sourceimpl Clone for Difference2d
impl Clone for Difference2d
sourcefn clone(&self) -> Difference2d
fn clone(&self) -> Difference2d
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Difference2d
impl Debug for Difference2d
sourceimpl From<Difference2d> for Shape
impl From<Difference2d> for Shape
sourcefn from(shape: Difference2d) -> Self
fn from(shape: Difference2d) -> Self
Converts to this type from the input type.
sourceimpl From<Difference2d> for Shape2d
impl From<Difference2d> for Shape2d
sourcefn from(shape: Difference2d) -> Self
fn from(shape: Difference2d) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<Difference2d> for Difference2d
impl PartialEq<Difference2d> for Difference2d
sourcefn eq(&self, other: &Difference2d) -> bool
fn eq(&self, other: &Difference2d) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Difference2d) -> bool
fn ne(&self, other: &Difference2d) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Difference for T where
T: Clone + Into<Shape2d>,
impl<T> Difference for T where
T: Clone + Into<Shape2d>,
sourcefn difference<Other>(&self, other: &Other) -> Difference2d where
Other: Clone + Into<Shape2d>,
fn difference<Other>(&self, other: &Other) -> Difference2d where
Other: Clone + Into<Shape2d>,
Create a difference between self
and other