pub struct DerivationSeg<I: IdxBase = NormalIndex>(/* private fields */);
Implementations§
Source§impl<I: IdxBase> DerivationSeg<I>
impl<I: IdxBase> DerivationSeg<I>
pub fn new(index: I) -> Self
pub fn with(iter: impl IntoIterator<Item = I>) -> Result<Self, Error>
pub fn count(&self) -> u8
pub fn is_distinct(&self, other: &Self) -> bool
pub fn at(&self, index: u8) -> Option<I>
pub fn first(&self) -> I
pub fn into_set(self) -> BTreeSet<I>
pub fn to_set(&self) -> BTreeSet<I>
pub fn as_set(&self) -> &BTreeSet<I>
Trait Implementations§
Source§impl<I: Clone + IdxBase> Clone for DerivationSeg<I>
impl<I: Clone + IdxBase> Clone for DerivationSeg<I>
Source§fn clone(&self) -> DerivationSeg<I>
fn clone(&self) -> DerivationSeg<I>
Returns a copy 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 moreSource§impl<I> FromStr for DerivationSeg<I>
impl<I> FromStr for DerivationSeg<I>
impl<I: Eq + IdxBase> Eq for DerivationSeg<I>
impl<I: IdxBase> StructuralPartialEq for DerivationSeg<I>
Auto Trait Implementations§
impl<I> Freeze for DerivationSeg<I>
impl<I> RefUnwindSafe for DerivationSeg<I>where
I: RefUnwindSafe,
impl<I> Send for DerivationSeg<I>where
I: Send,
impl<I> Sync for DerivationSeg<I>where
I: Sync,
impl<I> Unpin for DerivationSeg<I>
impl<I> UnwindSafe for DerivationSeg<I>where
I: RefUnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.