#[repr(packed(1))]pub struct Edge {
pub flag: EdgeFlags,
pub dest: Key<PatchId>,
pub introduced_by: PatchId,
}
Expand description
The target half of an edge in the repository graph.
Fields§
§flag: EdgeFlags
Flags of this edge.
dest: Key<PatchId>
Target of this edge.
introduced_by: PatchId
Patch that introduced this edge (possibly as a pseudo-edge, i.e. not explicitly in the patch, but computed from it).
Implementations§
Trait Implementations§
Source§impl Ord for Edge
impl Ord for Edge
Source§impl PartialOrd for Edge
impl PartialOrd for Edge
impl Copy for Edge
impl Eq for Edge
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
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