pub struct SchematicConnectivity { /* private fields */ }Expand description
Deterministic connected components over wire endpoints and registered carrier points.
Implementations§
Source§impl SchematicConnectivity
impl SchematicConnectivity
pub fn points(&self) -> impl ExactSizeIterator<Item = &SchematicPoint>
pub fn components(&self) -> impl ExactSizeIterator<Item = &[SchematicPoint]>
pub fn component(&self, point: SchematicPoint) -> Option<&[SchematicPoint]>
pub fn connected(&self, left: SchematicPoint, right: SchematicPoint) -> bool
Trait Implementations§
Source§impl Clone for SchematicConnectivity
impl Clone for SchematicConnectivity
Source§fn clone(&self) -> SchematicConnectivity
fn clone(&self) -> SchematicConnectivity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchematicConnectivity
impl Debug for SchematicConnectivity
Source§impl Default for SchematicConnectivity
impl Default for SchematicConnectivity
Source§fn default() -> SchematicConnectivity
fn default() -> SchematicConnectivity
Returns the “default value” for a type. Read more
impl Eq for SchematicConnectivity
Source§impl PartialEq for SchematicConnectivity
impl PartialEq for SchematicConnectivity
impl StructuralPartialEq for SchematicConnectivity
Auto Trait Implementations§
impl Freeze for SchematicConnectivity
impl RefUnwindSafe for SchematicConnectivity
impl Send for SchematicConnectivity
impl Sync for SchematicConnectivity
impl Unpin for SchematicConnectivity
impl UnsafeUnpin for SchematicConnectivity
impl UnwindSafe for SchematicConnectivity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.