pub struct ByteVector<'a>(pub Vector<'a, u8>);
Tuple Fields§
§0: Vector<'a, u8>
Implementations§
Source§impl<'a> ByteVector<'a>
impl<'a> ByteVector<'a>
pub fn from_byte_slice( allocator: AllocatorRef<'a>, data: &[u8], ) -> Result<Self, AllocError>
Trait Implementations§
Source§impl<'a> DataCellOpsMut for ByteVector<'a>
impl<'a> DataCellOpsMut for ByteVector<'a>
fn get_property_mut<'x>( &mut self, property_name: &str, _xc: &mut ExecutionContext<'x>, ) -> Result<DataCell<'x>, Error<'x>>
fn output_as_human_readable_mut<'w, 'x>( &mut self, out: &mut (dyn Write + 'w), xc: &mut ExecutionContext<'x>, ) -> Result<(), Error<'x>>
Auto Trait Implementations§
impl<'a> Freeze for ByteVector<'a>
impl<'a> !RefUnwindSafe for ByteVector<'a>
impl<'a> !Send for ByteVector<'a>
impl<'a> !Sync for ByteVector<'a>
impl<'a> Unpin for ByteVector<'a>
impl<'a> !UnwindSafe for ByteVector<'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