pub struct Location<L> {
pub coord: Coord,
pub layer: Option<L>,
}
Fields§
§coord: Coord
§layer: Option<L>
Trait Implementations§
impl<L: Copy> Copy for Location<L>
impl<L: Eq> Eq for Location<L>
impl<L> StructuralPartialEq for Location<L>
Auto Trait Implementations§
impl<L> Freeze for Location<L>where
L: Freeze,
impl<L> RefUnwindSafe for Location<L>where
L: RefUnwindSafe,
impl<L> Send for Location<L>where
L: Send,
impl<L> Sync for Location<L>where
L: Sync,
impl<L> Unpin for Location<L>where
L: Unpin,
impl<L> UnwindSafe for Location<L>where
L: 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