Struct strict_encoding::NumInfo
source · pub struct NumInfo {
pub ty: NumCls,
pub size: NumSize,
}
Expand description
Information about numeric type
Fields§
§ty: NumCls
Class of the number
size: NumSize
Size of the number, in bytes
Implementations§
Trait Implementations§
source§impl PartialEq for NumInfo
impl PartialEq for NumInfo
impl Copy for NumInfo
impl Eq for NumInfo
impl StructuralEq for NumInfo
impl StructuralPartialEq for NumInfo
Auto Trait Implementations§
impl RefUnwindSafe for NumInfo
impl Send for NumInfo
impl Sync for NumInfo
impl Unpin for NumInfo
impl UnwindSafe for NumInfo
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.