pub struct DecodedHeader<'a> {
pub state_reads: &'a [u8],
pub constraints: &'a [u8],
}Expand description
Fields§
§state_reads: &'a [u8]The indices of the state read programs in a buffer.
constraints: &'a [u8]The indices of the constraint check programs in a buffer.
Implementations§
Source§impl<'a> DecodedHeader<'a>
impl<'a> DecodedHeader<'a>
Sourcepub fn bytes_len(&self) -> usize
pub fn bytes_len(&self) -> usize
The number of bytes this header points to.
This includes the EncodedFixedSizeHeader::SIZE
and the lengths of the programs as well as the programs themselves.
Trait Implementations§
Source§impl<'a> Clone for DecodedHeader<'a>
impl<'a> Clone for DecodedHeader<'a>
Source§fn clone(&self) -> DecodedHeader<'a>
fn clone(&self) -> DecodedHeader<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for DecodedHeader<'a>
impl<'a> Debug for DecodedHeader<'a>
Source§impl<'a> Hash for DecodedHeader<'a>
impl<'a> Hash for DecodedHeader<'a>
Source§impl<'a> PartialEq for DecodedHeader<'a>
impl<'a> PartialEq for DecodedHeader<'a>
impl<'a> Eq for DecodedHeader<'a>
impl<'a> StructuralPartialEq for DecodedHeader<'a>
Auto Trait Implementations§
impl<'a> Freeze for DecodedHeader<'a>
impl<'a> RefUnwindSafe for DecodedHeader<'a>
impl<'a> Send for DecodedHeader<'a>
impl<'a> Sync for DecodedHeader<'a>
impl<'a> Unpin for DecodedHeader<'a>
impl<'a> UnwindSafe for DecodedHeader<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)