Struct rutabaga_gfx::rutabaga_utils::RutabagaIovec
source · #[repr(C)]pub struct RutabagaIovec {
pub base: *mut c_void,
pub len: usize,
}
Expand description
Represents a buffer. base
contains the address of a buffer, while len
contains the length
of the buffer.
Fields§
§base: *mut c_void
§len: usize
Trait Implementations§
source§impl Clone for RutabagaIovec
impl Clone for RutabagaIovec
source§fn clone(&self) -> RutabagaIovec
fn clone(&self) -> RutabagaIovec
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RutabagaIovec
impl Send for RutabagaIovec
impl Sync for RutabagaIovec
Auto Trait Implementations§
impl RefUnwindSafe for RutabagaIovec
impl Unpin for RutabagaIovec
impl UnwindSafe for RutabagaIovec
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