Skip to main content

MpUIntSliceCommon

Trait MpUIntSliceCommon 

Source
pub trait MpUIntSliceCommon: MpUIntSliceCommonPriv + MpUIntCommon { }
Expand description

Common interface to multiprecision integers backed by a single buffer slice.

Implemented by all of the representation-specific types, read-only and mutable, each of which wraps a single contiguous slice of u8 or LimbType elements. It’s the common supertrait of MpUIntSlice, for the read-only types, and MpMutUIntSlice, for the mutable ones. It doesn’t add any public methods on its own; the slice handling it stands for, like splitting a multiprecision integer into a high and a low part, is crate-internal.

The trait is sealed, i.e. it cannot be implemented outside of this crate.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§