pub struct Located<T, N, D, G> {
pub location: Location<N, D, G>,
pub value: T,
}Expand description
A retained result alongside its original XML/binary-source enclosure. Any ASN.1 offsets inside the value remain decoded-source coordinates.
Fields§
§location: Location<N, D, G>Original document generation and encapsulated-value node.
value: TRetained scoped result; it cannot borrow the temporary decoded source.
Trait Implementations§
Auto Trait Implementations§
impl<T, N, D, G> Freeze for Located<T, N, D, G>
impl<T, N, D, G> RefUnwindSafe for Located<T, N, D, G>
impl<T, N, D, G> Send for Located<T, N, D, G>
impl<T, N, D, G> Sync for Located<T, N, D, G>
impl<T, N, D, G> Unpin for Located<T, N, D, G>
impl<T, N, D, G> UnsafeUnpin for Located<T, N, D, G>
impl<T, N, D, G> UnwindSafe for Located<T, 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