pub struct ResourceBuffers<'a> {
pub transfer: &'a mut [u8],
pub part_names: &'a mut [[u8; 4]],
pub part_flags: &'a mut [bool],
}Expand description
One slot’s mutable regions, borrowed together so a build can seal into the transfer while naming parts into the same slot.
Fields§
§transfer: &'a mut [u8]§part_names: &'a mut [[u8; 4]]§part_flags: &'a mut [bool]Auto Trait Implementations§
impl<'a> !UnwindSafe for ResourceBuffers<'a>
impl<'a> Freeze for ResourceBuffers<'a>
impl<'a> RefUnwindSafe for ResourceBuffers<'a>
impl<'a> Send for ResourceBuffers<'a>
impl<'a> Sync for ResourceBuffers<'a>
impl<'a> Unpin for ResourceBuffers<'a>
impl<'a> UnsafeUnpin for ResourceBuffers<'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