pub struct DeclassifiedArray<const CAP: usize> { /* private fields */ }Expand description
Ordinary fixed array created by explicit secret declassification.
This value is Copy and deliberately performs no cleanup on drop.
Implementations§
Source§impl<const CAP: usize> DeclassifiedArray<CAP>
impl<const CAP: usize> DeclassifiedArray<CAP>
Sourcepub const fn into_parts(self) -> ([u8; CAP], usize)
pub const fn into_parts(self) -> ([u8; CAP], usize)
Returns the complete ordinary array and initialized length.
Trait Implementations§
Source§impl<const CAP: usize> Clone for DeclassifiedArray<CAP>
impl<const CAP: usize> Clone for DeclassifiedArray<CAP>
Source§fn clone(&self) -> DeclassifiedArray<CAP>
fn clone(&self) -> DeclassifiedArray<CAP>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<const CAP: usize> Copy for DeclassifiedArray<CAP>
Source§impl<const CAP: usize> Debug for DeclassifiedArray<CAP>
impl<const CAP: usize> Debug for DeclassifiedArray<CAP>
impl<const CAP: usize> Eq for DeclassifiedArray<CAP>
Source§impl<const CAP: usize> Hash for DeclassifiedArray<CAP>
impl<const CAP: usize> Hash for DeclassifiedArray<CAP>
Source§impl<const CAP: usize> PartialEq for DeclassifiedArray<CAP>
impl<const CAP: usize> PartialEq for DeclassifiedArray<CAP>
impl<const CAP: usize> StructuralPartialEq for DeclassifiedArray<CAP>
Auto Trait Implementations§
impl<const CAP: usize> Freeze for DeclassifiedArray<CAP>
impl<const CAP: usize> RefUnwindSafe for DeclassifiedArray<CAP>
impl<const CAP: usize> Send for DeclassifiedArray<CAP>
impl<const CAP: usize> Sync for DeclassifiedArray<CAP>
impl<const CAP: usize> Unpin for DeclassifiedArray<CAP>
impl<const CAP: usize> UnsafeUnpin for DeclassifiedArray<CAP>
impl<const CAP: usize> UnwindSafe for DeclassifiedArray<CAP>
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