pub struct MemoryStream { /* private fields */ }Expand description
Memory-based stream for VST3 state I/O Uses UnsafeCell for interior mutability as required by IBStreamTrait
Implementations§
Trait Implementations§
Source§impl Class for MemoryStream
impl Class for MemoryStream
Source§type Interfaces = (IBStream,)
type Interfaces = (IBStream,)
The list of interfaces implemented by this Rust type. Read more
Source§impl Default for MemoryStream
impl Default for MemoryStream
Source§impl IBStreamTrait for MemoryStream
impl IBStreamTrait for MemoryStream
unsafe fn read( &self, buffer: *mut c_void, num_bytes: i32, num_bytes_read: *mut i32, ) -> i32
unsafe fn write( &self, buffer: *mut c_void, num_bytes: i32, num_bytes_written: *mut i32, ) -> i32
unsafe fn seek(&self, pos: i64, mode: i32, result: *mut i64) -> i32
unsafe fn tell(&self, pos: *mut i64) -> i32
Auto Trait Implementations§
impl !Freeze for MemoryStream
impl !RefUnwindSafe for MemoryStream
impl Send for MemoryStream
impl !Sync for MemoryStream
impl Unpin for MemoryStream
impl UnsafeUnpin for MemoryStream
impl UnwindSafe for MemoryStream
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more