pub struct Edge {
pub source: ScopedVar,
pub target: ScopedVar,
pub weight: i32,
pub in_comp: bool,
}Fields§
§source: ScopedVar§target: ScopedVar§weight: i32§in_comp: boolTrait Implementations§
Source§impl From<Constraint> for Edge
impl From<Constraint> for Edge
Source§fn from(c: Constraint) -> Self
fn from(c: Constraint) -> Self
Converts to this type from the input type.
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 UnsafeUnpin 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