pub(crate) fn unit(&self) -> Option<&SignedWireUnit<C>> {
        match self {
            Vertex::Unit(signed_wire_unit) => Some(signed_wire_unit),
            _ => None,
        }
    }
/// Returns a reference to the unit, or `None` if this is not a unit.
Returns a reference to the unit, or `None` if this is not a unit.
Returns a reference to the unit or ` None ` if this is not a unit .
pub(crate) fn unit(&self) -> Option<&SignedWireUnit<C>> {
        match self {
            Vertex::Unit(signed_wire_unit) => Some(signed_wire_unit),
            _ => None,
        }
    }
pub ( crate ) fn unit ( & self ) -> Option < & SignedWireUnit < C > > { match self { Vertex :: Unit ( signed_wire_unit ) => Some ( signed_wire_unit ) , _ => None , } }
Returns a reference to the unit, or `None` if this is not a unit.
Returns a reference to the unit or ` None ` if this is not a unit .
&self
&self