pub struct Location<N, D, G> {
pub snapshot: Snapshot<D, G>,
pub node: N,
}Expand description
One original node in its exact source generation.
Fields§
§snapshot: Snapshot<D, G>Exact original document and generation.
node: NOriginal node, such as an XML element or a CMS attribute.
Trait Implementations§
impl<N: Copy, D: Copy, G: Copy> Copy for Location<N, D, G>
impl<N: Eq, D: Eq, G: Eq> Eq for Location<N, D, G>
impl<N: PartialEq, D: PartialEq, G: PartialEq> StructuralPartialEq for Location<N, D, G>
Auto Trait Implementations§
impl<N, D, G> Freeze for Location<N, D, G>
impl<N, D, G> RefUnwindSafe for Location<N, D, G>
impl<N, D, G> Send for Location<N, D, G>
impl<N, D, G> Sync for Location<N, D, G>
impl<N, D, G> Unpin for Location<N, D, G>
impl<N, D, G> UnsafeUnpin for Location<N, D, G>
impl<N, D, G> UnwindSafe for Location<N, D, G>
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