Struct rusteron_media_driver::AeronMappedBuffer
source · pub struct AeronMappedBuffer { /* private fields */ }
Implementations§
source§impl AeronMappedBuffer
impl AeronMappedBuffer
pub fn new(addr: &mut [u8]) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn addr(&self) -> &mut [u8] ⓘ
pub fn length(&self) -> usize
pub fn get_inner(&self) -> *mut aeron_mapped_buffer_t
Trait Implementations§
source§impl Clone for AeronMappedBuffer
impl Clone for AeronMappedBuffer
source§fn clone(&self) -> AeronMappedBuffer
fn clone(&self) -> AeronMappedBuffer
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 moresource§impl Debug for AeronMappedBuffer
impl Debug for AeronMappedBuffer
source§impl Default for AeronMappedBuffer
impl Default for AeronMappedBuffer
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronMappedBuffer
impl Deref for AeronMappedBuffer
source§impl From<&AeronMappedBuffer> for *mut aeron_mapped_buffer_t
impl From<&AeronMappedBuffer> for *mut aeron_mapped_buffer_t
source§fn from(value: &AeronMappedBuffer) -> Self
fn from(value: &AeronMappedBuffer) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_mapped_buffer_stct> for AeronMappedBuffer
impl From<*const aeron_mapped_buffer_stct> for AeronMappedBuffer
source§fn from(value: *const aeron_mapped_buffer_t) -> Self
fn from(value: *const aeron_mapped_buffer_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_mapped_buffer_stct> for AeronMappedBuffer
impl From<*mut aeron_mapped_buffer_stct> for AeronMappedBuffer
source§fn from(value: *mut aeron_mapped_buffer_t) -> Self
fn from(value: *mut aeron_mapped_buffer_t) -> Self
Converts to this type from the input type.
source§impl From<AeronMappedBuffer> for *mut aeron_mapped_buffer_t
impl From<AeronMappedBuffer> for *mut aeron_mapped_buffer_t
source§fn from(value: AeronMappedBuffer) -> Self
fn from(value: AeronMappedBuffer) -> Self
Converts to this type from the input type.
source§impl From<AeronMappedBuffer> for aeron_mapped_buffer_t
impl From<AeronMappedBuffer> for aeron_mapped_buffer_t
source§fn from(value: AeronMappedBuffer) -> Self
fn from(value: AeronMappedBuffer) -> Self
Converts to this type from the input type.
source§impl From<aeron_mapped_buffer_stct> for AeronMappedBuffer
impl From<aeron_mapped_buffer_stct> for AeronMappedBuffer
source§fn from(value: aeron_mapped_buffer_t) -> Self
fn from(value: aeron_mapped_buffer_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronMappedBuffer
impl !RefUnwindSafe for AeronMappedBuffer
impl !Send for AeronMappedBuffer
impl !Sync for AeronMappedBuffer
impl Unpin for AeronMappedBuffer
impl !UnwindSafe for AeronMappedBuffer
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)