pub struct BitFieldIdPath<B: BitFieldSlice<u64>>(/* private fields */);Expand description
Newtype wrapping a BitFieldVec (or other implementations of BitFieldSlice)
to interpret them as an IdPath.
Trait Implementations§
Source§impl<B: Clone + BitFieldSlice<u64>> Clone for BitFieldIdPath<B>
impl<B: Clone + BitFieldSlice<u64>> Clone for BitFieldIdPath<B>
Source§fn clone(&self) -> BitFieldIdPath<B>
fn clone(&self) -> BitFieldIdPath<B>
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 moreSource§impl<B: Debug + BitFieldSlice<u64>> Debug for BitFieldIdPath<B>
impl<B: Debug + BitFieldSlice<u64>> Debug for BitFieldIdPath<B>
Source§impl From<&[LabelNameId]> for BitFieldIdPath<BitFieldVec<u64, Box<[u64]>>>
impl From<&[LabelNameId]> for BitFieldIdPath<BitFieldVec<u64, Box<[u64]>>>
Source§fn from(s: &[LabelNameId]) -> Self
fn from(s: &[LabelNameId]) -> Self
Converts to this type from the input type.
Source§impl<B: BitFieldSlice<u64>> From<B> for BitFieldIdPath<B>
impl<B: BitFieldSlice<u64>> From<B> for BitFieldIdPath<B>
Source§impl<B: BitFieldSlice<u64>> From<BitFieldIdPath<B>> for Box<[LabelNameId]>
impl<B: BitFieldSlice<u64>> From<BitFieldIdPath<B>> for Box<[LabelNameId]>
Source§fn from(v: BitFieldIdPath<B>) -> Self
fn from(v: BitFieldIdPath<B>) -> Self
Converts to this type from the input type.
Source§impl From<Box<[LabelNameId]>> for BitFieldIdPath<BitFieldVec<u64, Box<[u64]>>>
impl From<Box<[LabelNameId]>> for BitFieldIdPath<BitFieldVec<u64, Box<[u64]>>>
Source§fn from(b: Box<[LabelNameId]>) -> Self
fn from(b: Box<[LabelNameId]>) -> Self
Converts to this type from the input type.
Source§impl From<Vec<LabelNameId>> for BitFieldIdPath<BitFieldVec<u64, Box<[u64]>>>
impl From<Vec<LabelNameId>> for BitFieldIdPath<BitFieldVec<u64, Box<[u64]>>>
Source§fn from(v: Vec<LabelNameId>) -> Self
fn from(v: Vec<LabelNameId>) -> Self
Converts to this type from the input type.
Source§impl<B: Hash + BitFieldSlice<u64>> Hash for BitFieldIdPath<B>
impl<B: Hash + BitFieldSlice<u64>> Hash for BitFieldIdPath<B>
Source§impl<B: BitFieldSlice<u64>> IdPath for BitFieldIdPath<B>
impl<B: BitFieldSlice<u64>> IdPath for BitFieldIdPath<B>
fn iter(&self) -> impl Iterator<Item = LabelNameId>
Source§impl<B: PartialEq + BitFieldSlice<u64>> PartialEq for BitFieldIdPath<B>
impl<B: PartialEq + BitFieldSlice<u64>> PartialEq for BitFieldIdPath<B>
impl<B: Eq + BitFieldSlice<u64>> Eq for BitFieldIdPath<B>
impl<B: BitFieldSlice<u64>> StructuralPartialEq for BitFieldIdPath<B>
Auto Trait Implementations§
impl<B> Freeze for BitFieldIdPath<B>where
B: Freeze,
impl<B> RefUnwindSafe for BitFieldIdPath<B>where
B: RefUnwindSafe,
impl<B> Send for BitFieldIdPath<B>where
B: Send,
impl<B> Sync for BitFieldIdPath<B>where
B: Sync,
impl<B> Unpin for BitFieldIdPath<B>where
B: Unpin,
impl<B> UnsafeUnpin for BitFieldIdPath<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for BitFieldIdPath<B>where
B: UnwindSafe,
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, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
Source§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
Source§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
Source§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.