pub struct Dep {
pub unit: UnitId,
pub kind: EdgeKind,
}Expand description
One end of an edge, together with what the edge requires.
Fields§
§unit: UnitIdThe unit at the other end.
kind: EdgeKindWhat the edge requires.
Trait Implementations§
impl Copy for Dep
impl Eq for Dep
impl StructuralPartialEq for Dep
Auto Trait Implementations§
impl Freeze for Dep
impl RefUnwindSafe for Dep
impl Send for Dep
impl Sync for Dep
impl Unpin for Dep
impl UnsafeUnpin for Dep
impl UnwindSafe for Dep
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