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.
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more