pub struct Layer<P, O> {
pub objects: Vec<PointObject<P, O>>,
}
Expand description
A struct representing a layer of point objects.
The Layer
struct is generic over the point type P
and options type O
.
Fields§
§objects: Vec<PointObject<P, O>>
A vector of PointObject
s in the layer.
Implementations§
Trait Implementations§
Source§impl<S: SizeSettings, P: FromStream<S>, O: FromStream<S>> FromStream<S> for Layer<P, O>
impl<S: SizeSettings, P: FromStream<S>, O: FromStream<S>> FromStream<S> for Layer<P, O>
Auto Trait Implementations§
impl<P, O> Freeze for Layer<P, O>
impl<P, O> RefUnwindSafe for Layer<P, O>where
O: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, O> Send for Layer<P, O>
impl<P, O> Sync for Layer<P, O>
impl<P, O> Unpin for Layer<P, O>
impl<P, O> UnwindSafe for Layer<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