pub struct GridPointGenerator2 {}Expand description
§2-D regular-grid point generator.
Trait Implementations§
Source§impl PointGenerator2 for GridPointGenerator2
impl PointGenerator2 for GridPointGenerator2
Source§fn for_each_point<Callback>(
&self,
bounding_box: &BoundingBox2D,
spacing: f64,
callback: &mut Callback,
)
fn for_each_point<Callback>( &self, bounding_box: &BoundingBox2D, spacing: f64, callback: &mut Callback, )
Iterates every point within the bounding box with specified
point pattern and invokes the callback function. Read more
Auto Trait Implementations§
impl Freeze for GridPointGenerator2
impl RefUnwindSafe for GridPointGenerator2
impl Send for GridPointGenerator2
impl Sync for GridPointGenerator2
impl Unpin for GridPointGenerator2
impl UnwindSafe for GridPointGenerator2
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more