pub struct RawBytes {
pub inner: Vec<u8>,
}Expand description
If a type is not specified by an
input pragma, it will be stored internally
as a Vec<u8>, If you query it by name with
crate::RenderContext::get_input_mut you will only
be able to access an &mut[u8] the same size as the input type.
Fields§
§inner: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawBytes
impl RefUnwindSafe for RawBytes
impl Send for RawBytes
impl Sync for RawBytes
impl Unpin for RawBytes
impl UnwindSafe for RawBytes
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)