pub struct Exponent(/* private fields */);
Implementations§
Source§impl Exponent
impl Exponent
pub fn from_le_bytes(bytes: impl AsRef<[u8]>) -> Result<Self, ParseBigIntError>
pub fn from_be_bytes(bytes: impl AsRef<[u8]>) -> Result<Self, ParseBigIntError>
pub fn bit_len(&self) -> usize
pub fn to_le_bytes(&self) -> Vec<u8> ⓘ
pub fn to_be_bytes(&self) -> Vec<u8> ⓘ
pub fn as_biguint(&self) -> &BigUint
Trait Implementations§
Source§impl ParseInt for Exponent
impl ParseInt for Exponent
type FromStrRadixErr = ParseBigIntError
fn from_str_radix(src: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str(src: &str) -> Result<Self, ParseIntError>
impl Eq for Exponent
impl StructuralPartialEq for Exponent
Auto Trait Implementations§
impl Freeze for Exponent
impl RefUnwindSafe for Exponent
impl Send for Exponent
impl Sync for Exponent
impl Unpin for Exponent
impl UnwindSafe for Exponent
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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§impl<T, U> ConsoleSend<T> for U
impl<T, U> ConsoleSend<T> for U
§impl<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type