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§
impl Copy for NumInfo
impl Eq for NumInfo
impl StructuralPartialEq for NumInfo
Auto Trait Implementations§
impl Freeze for NumInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)