pub struct ProximateNote<'a> {
pub distance: AddressValue,
pub range: AddressRange,
pub note: &'a Note,
}Expand description
A note located by a proximity query, tagged with how far the probe address sits from the note’s range.
Fields§
§distance: AddressValueBytes between the probe address and the note’s range (0 if inside).
range: AddressRangeThe address range the note is attached to.
note: &'a NoteTrait Implementations§
Source§impl<'a> Clone for ProximateNote<'a>
impl<'a> Clone for ProximateNote<'a>
impl<'a> Copy for ProximateNote<'a>
Auto Trait Implementations§
impl<'a> Forget for ProximateNote<'a>
impl<'a> Freeze for ProximateNote<'a>
impl<'a> Move for ProximateNote<'a>
impl<'a> RefUnwindSafe for ProximateNote<'a>
impl<'a> Send for ProximateNote<'a>
impl<'a> Sync for ProximateNote<'a>
impl<'a> Unpin for ProximateNote<'a>
impl<'a> UnsafeUnpin for ProximateNote<'a>
impl<'a> UnwindSafe for ProximateNote<'a>
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