pub enum ViaPolicy {
Allow,
Avoid,
Never,
}Expand description
How the autorouter trades vias against track length.
Variants§
Allow
A via is an ordinary cost, taken whenever it shortens the route enough.
Avoid
Route as Allow does, then reroute every net that has vias against the
finished board, looking first for a route with none, and keep whichever
copper has fewer. Connects the same nets as Allow, more slowly.
Never
Never place a via. Connections that cannot be made on one layer stay unrouted.
Trait Implementations§
impl Copy for ViaPolicy
Source§impl<'de> Deserialize<'de> for ViaPolicy
impl<'de> Deserialize<'de> for ViaPolicy
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
impl Eq for ViaPolicy
impl StructuralPartialEq for ViaPolicy
Auto Trait Implementations§
impl Forget for ViaPolicy
impl Freeze for ViaPolicy
impl Move for ViaPolicy
impl RefUnwindSafe for ViaPolicy
impl Send for ViaPolicy
impl Sync for ViaPolicy
impl Unpin for ViaPolicy
impl UnsafeUnpin for ViaPolicy
impl UnwindSafe for ViaPolicy
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