pub enum RecordPseudoSelector {
}Expand description
Pseudo-selectors for additional filtering.
Variants§
Root
Top-level records with no parent
Empty
Records with no children
FirstChild
First child of parent
LastChild
Last child of parent
NthChild(usize)
Nth child (1-indexed)
OnlyChild
Only child of parent
Connected
Connected to a net
Unconnected
Not connected to any net
Input
Input pin
Output
Output pin
Bidirectional
Bidirectional pin
Power
Power pin
Passive
Passive pin
OpenCollector
Open collector pin
OpenEmitter
Open emitter pin
HiZ
High-Z pin
Visible
Not hidden
Hidden
Hidden records
Selected
Currently selected (UI state)
Not(Box<Selector>)
Does not match the given selector
Has(Box<Selector>)
Contains a descendant matching the given selector
Is(Box<Selector>)
Matches any of the given selectors (grouping)
Implementations§
Trait Implementations§
Source§impl Clone for PseudoSelector
impl Clone for PseudoSelector
Source§fn clone(&self) -> PseudoSelector
fn clone(&self) -> PseudoSelector
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PseudoSelector
impl RefUnwindSafe for PseudoSelector
impl Send for PseudoSelector
impl Sync for PseudoSelector
impl Unpin for PseudoSelector
impl UnwindSafe for PseudoSelector
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more