pub struct RouteArgs {
pub through: Vec<Selected>,
pub wires: Vec<Wire>,
pub fill: f64,
pub bend_factor: f64,
pub service_loop: f64,
}Fields§
§through: Vec<Selected>What the route runs through, in order, of the part or of parts
placed in it: points, coordinate systems (along their z axis: out
of a connector at the start, into one at the end) and circular edges
(through their centre, along their axis) — see Waypoint::of.
wires: Vec<Wire>The wires bundled.
fill: f64The fraction of the bundle’s section its wires fill (see
bundle_diameter).
bend_factor: f64The smallest radius the bundle may bend with, in bundle diameters.
service_loop: f64How much longer than the route each wire is cut at each end.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RouteArgs
impl<'de> Deserialize<'de> for RouteArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl StepArgs for RouteArgs
impl StepArgs for RouteArgs
Source§const KIND: &'static str = <Route as ::geop_core_editor::part_operation::PartOperation>::KIND
const KIND: &'static str = <Route as ::geop_core_editor::part_operation::PartOperation>::KIND
The kind of the operation they are for (see
Operation::KIND).impl StructuralPartialEq for RouteArgs
Auto Trait Implementations§
impl Freeze for RouteArgs
impl RefUnwindSafe for RouteArgs
impl Send for RouteArgs
impl Sync for RouteArgs
impl Unpin for RouteArgs
impl UnsafeUnpin for RouteArgs
impl UnwindSafe for RouteArgs
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