pub struct Address {
pub index: usize,
pub hash: Hash,
}Expand description
Address within a PointInput.
This was introduced:
- to avoid using a [
Hash]-only map - to differentiate between separate
Points within a context
Fields§
§index: usizeMonotonically incremented index. This is not present at all in the actual format.
hash: HashOnly this part is part of the parsed/generated input.
Implementations§
Trait Implementations§
Source§impl Ord for Address
impl Ord for Address
Source§impl<__I: ParseInput> Parse<__I> for Addresswhere
Self: ParseInline<__I>,
impl<__I: ParseInput> Parse<__I> for Addresswhere
Self: ParseInline<__I>,
Source§impl<I: PointInput> ParseInline<I> for Address
impl<I: PointInput> ParseInline<I> for Address
Source§impl PartialOrd for Address
impl PartialOrd for Address
impl Copy for Address
impl Eq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
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