pub struct Locations {
pub reference_location: Location,
pub defined_location: Location,
}Expand description
Pair of locations for values that may come indirectly from YAML anchors.
reference_location: where the value is used (alias/merge site).defined_location: where the value is defined (anchor definition site).
Fields§
§reference_location: Location§defined_location: LocationImplementations§
Trait Implementations§
impl Copy for Locations
impl Eq for Locations
impl StructuralPartialEq for Locations
Auto Trait Implementations§
impl Freeze for Locations
impl RefUnwindSafe for Locations
impl Send for Locations
impl Sync for Locations
impl Unpin for Locations
impl UnsafeUnpin for Locations
impl UnwindSafe for Locations
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