Struct kicad_parse_gen::layout::NetClass
[−]
[src]
pub struct NetClass { pub name: String, pub desc: String, pub clearance: f64, pub trace_width: f64, pub via_dia: f64, pub via_drill: f64, pub uvia_dia: f64, pub uvia_drill: f64, pub diff_pair_gap: Option<f64>, pub diff_pair_width: Option<f64>, pub nets: Vec<String>, }
a net class
Fields
name: String
name
desc: String
description
clearance: f64
clearance
trace_width: f64
trace width
via_dia: f64
via diameter
via_drill: f64
via drill
uvia_dia: f64
micro via diameter
uvia_drill: f64
micro via drill
diff_pair_gap: Option<f64>
differential pair gap
diff_pair_width: Option<f64>
differential pair width
nets: Vec<String>
associated nets
Methods
impl NetClass
[src]
fn equal_no_net(&self, other: &NetClass) -> bool
check if two netclasses are equal not looking at the nets
fn has_net(&self, name: &'static str) -> bool
check if a netclass has a net
Trait Implementations
impl Clone for NetClass
[src]
fn clone(&self) -> NetClass
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for NetClass
[src]
fn eq(&self, __arg_0: &NetClass) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NetClass) -> bool
This method tests for !=
.