pub struct MpMutBigEndianUIntByteSlice<'a> { /* private fields */ }Implementations§
Source§impl<'a> MpMutBigEndianUIntByteSlice<'a>
impl<'a> MpMutBigEndianUIntByteSlice<'a>
pub fn from_bytes(bytes: &'a mut [u8]) -> Self
pub fn as_bytes<'b>(&'b self) -> &'b [u8]
pub fn as_bytes_mut<'b>(&'b mut self) -> &'b mut [u8]
Trait Implementations§
Source§impl<'a, 'b> From<&'a MpMutBigEndianUIntByteSlice<'b>> for &'a [u8]
impl<'a, 'b> From<&'a MpMutBigEndianUIntByteSlice<'b>> for &'a [u8]
Source§fn from(value: &'a MpMutBigEndianUIntByteSlice<'b>) -> Self
fn from(value: &'a MpMutBigEndianUIntByteSlice<'b>) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'a MpMutBigEndianUIntByteSlice<'b>> for MpBigEndianUIntByteSlice<'a>
impl<'a, 'b> From<&'a MpMutBigEndianUIntByteSlice<'b>> for MpBigEndianUIntByteSlice<'a>
Source§fn from(value: &'a MpMutBigEndianUIntByteSlice<'b>) -> Self
fn from(value: &'a MpMutBigEndianUIntByteSlice<'b>) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'a mut MpMutBigEndianUIntByteSlice<'b>> for &'a mut [u8]
impl<'a, 'b> From<&'a mut MpMutBigEndianUIntByteSlice<'b>> for &'a mut [u8]
Source§fn from(value: &'a mut MpMutBigEndianUIntByteSlice<'b>) -> Self
fn from(value: &'a mut MpMutBigEndianUIntByteSlice<'b>) -> Self
Converts to this type from the input type.
Source§impl<'a> LowerHex for MpMutBigEndianUIntByteSlice<'a>
impl<'a> LowerHex for MpMutBigEndianUIntByteSlice<'a>
Source§impl<'a> MpMutUInt for MpMutBigEndianUIntByteSlice<'a>
impl<'a> MpMutUInt for MpMutBigEndianUIntByteSlice<'a>
fn store_l_full(&mut self, i: usize, value: LimbType)
fn store_l(&mut self, i: usize, value: LimbType)
fn clear_bytes_above(&mut self, begin: usize)
fn clear_bytes_below(&mut self, end: usize)
fn clear_bytes_above_cond(&mut self, begin: usize, cond: LimbChoice)
fn copy_from<S: MpUIntCommon>(&mut self, src: &S)
fn copy_from_cond<S: MpUIntCommon>(&mut self, src: &S, cond: LimbChoice)
fn set_bit_to(&mut self, pos: usize, val: bool)
fn set_to_u8(&mut self, value: u8)
fn set_to_u16(&mut self, value: u16)
fn set_to_u32(&mut self, value: u32)
fn set_to_u64(&mut self, value: u64)
Source§impl<'a> MpMutUIntSlice for MpMutBigEndianUIntByteSlice<'a>
impl<'a> MpMutUIntSlice for MpMutBigEndianUIntByteSlice<'a>
Source§impl<'a> MpUIntCommon for MpMutBigEndianUIntByteSlice<'a>
impl<'a> MpUIntCommon for MpMutBigEndianUIntByteSlice<'a>
fn is_empty(&self) -> bool
fn load_l_full(&self, i: usize) -> LimbType
fn load_l(&self, i: usize) -> LimbType
fn len(&self) -> usize
fn nlimbs(&self) -> usize
fn test_bit(&self, pos: usize) -> LimbChoice
fn fmt_lower_hex(&self, f: &mut Formatter<'_>) -> Result
fn len_is_compatible_with(&self, len: usize) -> bool
fn try_into_u8(&self) -> Result<u8, MpUIntCommonTryIntoNativeError>
fn try_into_u16(&self) -> Result<u16, MpUIntCommonTryIntoNativeError>
fn try_into_u32(&self) -> Result<u32, MpUIntCommonTryIntoNativeError>
fn try_into_u64(&self) -> Result<u64, MpUIntCommonTryIntoNativeError>
impl<'a> MpUIntSliceCommon for MpMutBigEndianUIntByteSlice<'a>
Auto Trait Implementations§
impl<'a> Freeze for MpMutBigEndianUIntByteSlice<'a>
impl<'a> RefUnwindSafe for MpMutBigEndianUIntByteSlice<'a>
impl<'a> Send for MpMutBigEndianUIntByteSlice<'a>
impl<'a> Sync for MpMutBigEndianUIntByteSlice<'a>
impl<'a> Unpin for MpMutBigEndianUIntByteSlice<'a>
impl<'a> UnsafeUnpin for MpMutBigEndianUIntByteSlice<'a>
impl<'a> !UnwindSafe for MpMutBigEndianUIntByteSlice<'a>
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