#[repr(C)]pub struct OrthancPluginMemoryBuffer {
pub data: *mut c_void,
pub size: u32,
}
Expand description
@brief A 32-bit memory buffer allocated by the core system of Orthanc.
A memory buffer allocated by the core system of Orthanc. When the content of the buffer is not useful anymore, it must be free by a call to ::OrthancPluginFreeMemoryBuffer().
Fields§
§data: *mut c_void
@brief The content of the buffer.
size: u32
@brief The number of bytes in the buffer.
Trait Implementations§
Source§impl Clone for OrthancPluginMemoryBuffer
impl Clone for OrthancPluginMemoryBuffer
Source§fn clone(&self) -> OrthancPluginMemoryBuffer
fn clone(&self) -> OrthancPluginMemoryBuffer
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OrthancPluginMemoryBuffer
impl Debug for OrthancPluginMemoryBuffer
impl Copy for OrthancPluginMemoryBuffer
Auto Trait Implementations§
impl Freeze for OrthancPluginMemoryBuffer
impl RefUnwindSafe for OrthancPluginMemoryBuffer
impl !Send for OrthancPluginMemoryBuffer
impl !Sync for OrthancPluginMemoryBuffer
impl Unpin for OrthancPluginMemoryBuffer
impl UnwindSafe for OrthancPluginMemoryBuffer
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