pub struct InterPointLookup<P: FullXY> {
pub lookup: BTreeMap<Point, IntersectionPointRef<P>>,
}Expand description
Intersection Lookup for chunks
Fields§
§lookup: BTreeMap<Point, IntersectionPointRef<P>>The lookup
Implementations§
Source§impl<P: FullXY> InterPointLookup<P>
impl<P: FullXY> InterPointLookup<P>
Sourcepub fn get(&mut self, point: Point) -> IntersectionPointRef<P>
pub fn get(&mut self, point: Point) -> IntersectionPointRef<P>
Get the intersection point
Trait Implementations§
Source§impl<P: Clone + FullXY> Clone for InterPointLookup<P>
impl<P: Clone + FullXY> Clone for InterPointLookup<P>
Source§fn clone(&self) -> InterPointLookup<P>
fn clone(&self) -> InterPointLookup<P>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<P: FullXY> Default for InterPointLookup<P>
impl<P: FullXY> Default for InterPointLookup<P>
impl<P: FullXY> StructuralPartialEq for InterPointLookup<P>
Auto Trait Implementations§
impl<P> Freeze for InterPointLookup<P>
impl<P> !RefUnwindSafe for InterPointLookup<P>
impl<P> !Send for InterPointLookup<P>
impl<P> !Sync for InterPointLookup<P>
impl<P> Unpin for InterPointLookup<P>
impl<P> !UnwindSafe for InterPointLookup<P>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().