pub struct ExternalInputStreamStruct(/* private fields */);Expand description
This structure contains information about externally provided functions for reading data from an input 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_ReleaseInputStream’ function for the corresponding stream-object.
Implementations§
Source§impl ExternalInputStreamStruct
impl ExternalInputStreamStruct
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 ExternalInputStreamStruct
impl Clone for ExternalInputStreamStruct
Source§fn clone(&self) -> ExternalInputStreamStruct
fn clone(&self) -> ExternalInputStreamStruct
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 ExternalInputStreamStruct
impl RefUnwindSafe for ExternalInputStreamStruct
impl Send for ExternalInputStreamStruct
impl Sync for ExternalInputStreamStruct
impl Unpin for ExternalInputStreamStruct
impl UnsafeUnpin for ExternalInputStreamStruct
impl UnwindSafe for ExternalInputStreamStruct
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