pub trait INSMutableData: INSData {
// Provided methods
fn bytes_mut(&mut self) -> &mut [u8] ⓘ { ... }
fn set_len(&mut self, len: usize) { ... }
fn append(&mut self, bytes: &[u8]) { ... }
fn replace_range(&mut self, range: Range<usize>, bytes: &[u8]) { ... }
fn set_bytes(&mut self, bytes: &[u8]) { ... }
}
Provided Methods§
fn bytes_mut(&mut self) -> &mut [u8] ⓘ
fn set_len(&mut self, len: usize)
fn append(&mut self, bytes: &[u8])
fn replace_range(&mut self, range: Range<usize>, bytes: &[u8])
fn set_bytes(&mut self, bytes: &[u8])
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.