pub struct BitString<T = usize>where
T: Display + Debug + Clone,{
pub size: Size<T>,
pub constants: Vec<(String, u64), Global>,
}
Fields§
§size: Size<T>
§constants: Vec<(String, u64), Global>
Trait Implementations§
source§impl<T> PartialEq<BitString<T>> for BitString<T>where
T: PartialEq<T> + Display + Debug + Clone,
impl<T> PartialEq<BitString<T>> for BitString<T>where T: PartialEq<T> + Display + Debug + Clone,
source§impl<T> PartialOrd<BitString<T>> for BitString<T>where
T: PartialOrd<T> + Display + Debug + Clone,
impl<T> PartialOrd<BitString<T>> for BitString<T>where T: PartialOrd<T> + Display + Debug + Clone,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<T> TryFrom<&mut Peekable<T>> for BitString<<Unresolved as ResolveState>::SizeType>where
T: Iterator<Item = Token>,
impl<T> TryFrom<&mut Peekable<T>> for BitString<<Unresolved as ResolveState>::SizeType>where T: Iterator<Item = Token>,
source§fn try_from(
iter: &mut Peekable<T>
) -> Result<BitString<<Unresolved as ResolveState>::SizeType>, <BitString<<Unresolved as ResolveState>::SizeType> as TryFrom<&mut Peekable<T>>>::Error>
fn try_from( iter: &mut Peekable<T> ) -> Result<BitString<<Unresolved as ResolveState>::SizeType>, <BitString<<Unresolved as ResolveState>::SizeType> as TryFrom<&mut Peekable<T>>>::Error>
Performs the conversion.
impl<T> Eq for BitString<T>where T: Eq + Display + Debug + Clone,
impl<T> StructuralEq for BitString<T>where T: Display + Debug + Clone,
impl<T> StructuralPartialEq for BitString<T>where T: Display + Debug + Clone,
Auto Trait Implementations§
impl<T> RefUnwindSafe for BitString<T>where T: RefUnwindSafe,
impl<T> Send for BitString<T>where T: Send,
impl<T> Sync for BitString<T>where T: Sync,
impl<T> Unpin for BitString<T>where T: Unpin,
impl<T> UnwindSafe for BitString<T>where T: 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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.