def with_mode

bend-visgraph@2.0.0.0 · bend_visgraph.bend:118

import bend-visgraph@2.0.0.0/bend_visgraph.bend as BendVisgraph
import Base
import bend-visgraph@2.0.0.0/visgraph.bend as VG

118def with_mode(found: Maybe<&2, Mode>, name: String, value: String, o: String, x: String, g: VG.Visibility, d: VG.Direction, k: VG.Weight, l: U32) -> Config:
119  match found:
120    case Some{m}:
121      Config{o, x, g, d, k, l, m}
122    case None{}:
123      bad(name, value)

Uses (9)

Used by (1)