pub struct RawInstructionBuffer<T> { /* private fields */ }Implementations§
Source§impl<T: AsRef<[u8]>> RawInstructionBuffer<T>
impl<T: AsRef<[u8]>> RawInstructionBuffer<T>
pub fn into_inner(self) -> T
Source§impl<'a, T: AsRef<[u8]> + AsMut<[u8]> + ?Sized> RawInstructionBuffer<&'a mut T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]> + ?Sized> RawInstructionBuffer<&'a mut T>
pub fn payload_mut(&mut self) -> &mut [u8] ⓘ
Source§impl<T: AsRef<[u8]>> RawInstructionBuffer<T>
impl<T: AsRef<[u8]>> RawInstructionBuffer<T>
pub fn new(buffer: T) -> Result<Self, DecodeError>
Trait Implementations§
Source§impl<T: Clone> Clone for RawInstructionBuffer<T>
impl<T: Clone> Clone for RawInstructionBuffer<T>
impl<T: Copy> Copy for RawInstructionBuffer<T>
Source§impl<T: Debug> Debug for RawInstructionBuffer<T>
impl<T: Debug> Debug for RawInstructionBuffer<T>
impl<T: Eq> Eq for RawInstructionBuffer<T>
Source§impl<T: PartialEq> PartialEq for RawInstructionBuffer<T>
impl<T: PartialEq> PartialEq for RawInstructionBuffer<T>
impl<T: PartialEq> StructuralPartialEq for RawInstructionBuffer<T>
Auto Trait Implementations§
impl<T> Freeze for RawInstructionBuffer<T>where
T: Freeze,
impl<T> RefUnwindSafe for RawInstructionBuffer<T>where
T: RefUnwindSafe,
impl<T> Send for RawInstructionBuffer<T>where
T: Send,
impl<T> Sync for RawInstructionBuffer<T>where
T: Sync,
impl<T> Unpin for RawInstructionBuffer<T>where
T: Unpin,
impl<T> UnsafeUnpin for RawInstructionBuffer<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RawInstructionBuffer<T>where
T: UnwindSafe,
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