pub struct ExternalOutputStreamStruct(/* private fields */);Expand description
This structure contains information about externally provided functions for writing data to an output stream, and it is used to construct a stream-object to be used with libCZI. Note on lifetime: The function pointers must remain valid until the function ‘close_function’ is called. The lifetime may extend beyond calling the ‘libCZI_ReleaseOutputStream’ function for the corresponding stream-object.
Implementations§
Source§impl ExternalOutputStreamStruct
impl ExternalOutputStreamStruct
Sourcepub fn get_opaque_handle1(&self) -> u64
pub fn get_opaque_handle1(&self) -> u64
A user parameter which is passed to the callback function.
Sourcepub fn get_opaque_handle2(&self) -> u64
pub fn get_opaque_handle2(&self) -> u64
A user parameter which is passed to the callback function.
pub fn set_opaque_handle1(&mut self, handle: u64)
pub fn set_opaque_handle2(&mut self, handle: u64)
Trait Implementations§
Source§impl Clone for ExternalOutputStreamStruct
impl Clone for ExternalOutputStreamStruct
Source§fn clone(&self) -> ExternalOutputStreamStruct
fn clone(&self) -> ExternalOutputStreamStruct
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ExternalOutputStreamStruct
impl RefUnwindSafe for ExternalOutputStreamStruct
impl Send for ExternalOutputStreamStruct
impl Sync for ExternalOutputStreamStruct
impl Unpin for ExternalOutputStreamStruct
impl UnsafeUnpin for ExternalOutputStreamStruct
impl UnwindSafe for ExternalOutputStreamStruct
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