pub struct ByteArrayVec<const N: usize> {
pub bytes: [u8; N],
pub len: usize,
}Fields§
§bytes: [u8; N]§len: usizeImplementations§
Trait Implementations§
Source§impl AsRef<ByteArrayVec<SIGNATUREBYTES>> for Signature
impl AsRef<ByteArrayVec<SIGNATUREBYTES>> for Signature
Source§fn as_ref(&self) -> &ByteArrayVec<SIGNATUREBYTES>
fn as_ref(&self) -> &ByteArrayVec<SIGNATUREBYTES>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ByteArrayVec<SIGNATUREBYTES>> for Signature
impl AsRef<ByteArrayVec<SIGNATUREBYTES>> for Signature
Source§fn as_ref(&self) -> &ByteArrayVec<SIGNATUREBYTES>
fn as_ref(&self) -> &ByteArrayVec<SIGNATUREBYTES>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ByteArrayVec<SIGNATUREBYTES>> for Signature
impl AsRef<ByteArrayVec<SIGNATUREBYTES>> for Signature
Source§fn as_ref(&self) -> &ByteArrayVec<SIGNATUREBYTES>
fn as_ref(&self) -> &ByteArrayVec<SIGNATUREBYTES>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<const N: usize> Clone for ByteArrayVec<N>
impl<const N: usize> Clone for ByteArrayVec<N>
impl<const N: usize> Copy for ByteArrayVec<N>
Source§impl<const N: usize> Debug for ByteArrayVec<N>
impl<const N: usize> Debug for ByteArrayVec<N>
Source§impl<'de, const N: usize> Deserialize<'de> for ByteArrayVec<N>
impl<'de, const N: usize> Deserialize<'de> for ByteArrayVec<N>
Source§fn deserialize<D>(deserializer: D) -> Result<ByteArrayVec<N>, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ByteArrayVec<N>, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<const N: usize> Eq for ByteArrayVec<N>
Source§impl From<ByteArrayVec<SIGNATUREBYTES>> for Signature
impl From<ByteArrayVec<SIGNATUREBYTES>> for Signature
Source§fn from(other: ByteArrayVec<SIGNATUREBYTES>) -> Self
fn from(other: ByteArrayVec<SIGNATUREBYTES>) -> Self
Converts to this type from the input type.
Source§impl From<ByteArrayVec<SIGNATUREBYTES>> for Signature
impl From<ByteArrayVec<SIGNATUREBYTES>> for Signature
Source§fn from(other: ByteArrayVec<SIGNATUREBYTES>) -> Self
fn from(other: ByteArrayVec<SIGNATUREBYTES>) -> Self
Converts to this type from the input type.
Source§impl From<ByteArrayVec<SIGNATUREBYTES>> for Signature
impl From<ByteArrayVec<SIGNATUREBYTES>> for Signature
Source§fn from(other: ByteArrayVec<SIGNATUREBYTES>) -> Self
fn from(other: ByteArrayVec<SIGNATUREBYTES>) -> Self
Converts to this type from the input type.
Source§impl<const N: usize> Hash for ByteArrayVec<N>
impl<const N: usize> Hash for ByteArrayVec<N>
Source§impl<const N: usize> Ord for ByteArrayVec<N>
impl<const N: usize> Ord for ByteArrayVec<N>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<const N: usize> PartialEq for ByteArrayVec<N>
impl<const N: usize> PartialEq for ByteArrayVec<N>
Source§impl<const N: usize> PartialOrd for ByteArrayVec<N>
impl<const N: usize> PartialOrd for ByteArrayVec<N>
Source§impl<const N: usize> Serialize for ByteArrayVec<N>
impl<const N: usize> Serialize for ByteArrayVec<N>
impl<const N: usize> StructuralPartialEq for ByteArrayVec<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for ByteArrayVec<N>
impl<const N: usize> RefUnwindSafe for ByteArrayVec<N>
impl<const N: usize> Send for ByteArrayVec<N>
impl<const N: usize> Sync for ByteArrayVec<N>
impl<const N: usize> Unpin for ByteArrayVec<N>
impl<const N: usize> UnsafeUnpin for ByteArrayVec<N>
impl<const N: usize> UnwindSafe for ByteArrayVec<N>
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