pub struct PointObject<P, O> {
pub points: Vec<P>,
pub options: O,
}
Expand description
A struct representing a point object with associated points and options.
The PointObject
struct is generic over the point type P
and options type O
.
Fields§
§points: Vec<P>
A vector of points of type P
.
options: O
Options of type O
associated with the point object.
Implementations§
Source§impl<P, O> PointObject<P, O>
impl<P, O> PointObject<P, O>
Trait Implementations§
Source§impl<P: Clone, O: Clone> Clone for PointObject<P, O>
impl<P: Clone, O: Clone> Clone for PointObject<P, O>
Source§fn clone(&self) -> PointObject<P, O>
fn clone(&self) -> PointObject<P, O>
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<S: SizeSettings, P: FromStream<S>, O: FromStream<S>> FromStream<S> for PointObject<P, O>
impl<S: SizeSettings, P: FromStream<S>, O: FromStream<S>> FromStream<S> for PointObject<P, O>
Source§impl<P: Copy + Sub, O: SelectSettings<P>> Selectable for PointObject<P, O>where
P::Output: InnerSpace,
impl<P: Copy + Sub, O: SelectSettings<P>> Selectable for PointObject<P, O>where
P::Output: InnerSpace,
Auto Trait Implementations§
impl<P, O> Freeze for PointObject<P, O>where
O: Freeze,
impl<P, O> RefUnwindSafe for PointObject<P, O>where
O: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, O> Send for PointObject<P, O>
impl<P, O> Sync for PointObject<P, O>
impl<P, O> Unpin for PointObject<P, O>
impl<P, O> UnwindSafe for PointObject<P, O>where
O: UnwindSafe,
P: UnwindSafe,
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