Struct kicad_parse_gen::footprint::NetName
[−]
[src]
pub struct NetName(pub String);
a netname
Methods
impl NetName
[src]
fn replace_block(&mut self, from: &str, to: &str)
[src]
replace the block_name in a net name
fn rename(&mut self, from: &str, to: &str)
[src]
rename a net
impl NetName
[src]
fn is_unnamed_net(&self) -> Option<(String, String)>
[src]
check if a net is an unnamed net
fn set_unnamed_net(&mut self, new_name: &str) -> Result<()>
[src]
update the component name in an unnamed net
Trait Implementations
impl Clone for NetName
[src]
fn clone(&self) -> NetName
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for NetName
[src]
impl PartialEq for NetName
[src]
fn eq(&self, __arg_0: &NetName) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NetName) -> bool
[src]
This method tests for !=
.