Expand description
A group of two 3-dimensional shapes
A group is a collection of disjoint shapes. It is not a union, in that the shapes in the group are not allowed to touch or overlap.
Examples
Convenient syntax for this operation is available through crate::syntax
.
use fj::syntax::*;
// `a` and `b` can be anything that converts to `fj::Shape`
let group = a.group(&b);
Limitations
Whether the shapes in the group touch or overlap is not currently checked.
Fields
a: Shape
The first of the shapes
b: Shape
The second of the shapes
Trait Implementations
impl StructuralPartialEq for Group
Auto Trait Implementations
impl RefUnwindSafe for Group
impl Send for Group
impl !Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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