Struct asn1rs_model::model::BitString
source · pub struct BitString<T: Display + Debug + Clone = usize> {
pub size: Size<T>,
pub constants: Vec<(String, u64)>,
}
Fields§
§size: Size<T>
§constants: Vec<(String, u64)>
Trait Implementations§
source§impl<T: PartialEq + Display + Debug + Clone> PartialEq<BitString<T>> for BitString<T>
impl<T: PartialEq + Display + Debug + Clone> PartialEq<BitString<T>> for BitString<T>
source§impl<T: PartialOrd + Display + Debug + Clone> PartialOrd<BitString<T>> for BitString<T>
impl<T: PartialOrd + Display + Debug + Clone> PartialOrd<BitString<T>> for BitString<T>
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: Iterator<Item = Token>> TryFrom<&mut Peekable<T>> for BitString<<Unresolved as ResolveState>::SizeType>
impl<T: Iterator<Item = Token>> TryFrom<&mut Peekable<T>> for BitString<<Unresolved as ResolveState>::SizeType>
source§impl TryResolve<usize, BitString<usize>> for BitString<LitOrRef<usize>>
impl TryResolve<usize, BitString<usize>> for BitString<LitOrRef<usize>>
fn try_resolve( &self, resolver: &impl Resolver<usize> ) -> Result<BitString<usize>, ResolveError>
impl<T: Eq + Display + Debug + Clone> Eq for BitString<T>
impl<T: Display + Debug + Clone> StructuralEq for BitString<T>
impl<T: Display + Debug + Clone> StructuralPartialEq for BitString<T>
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.