#[repr(C, packed(4))]pub struct AddAttachmentInfoInterop {
pub guid: [c_uchar; 16],
pub contentFileType: [c_uchar; 8],
pub name: [c_uchar; 80],
pub size_attachment_data: c_uint,
pub attachment_data: *const c_void,
}Expand description
This structure is used to pass the attachment information to libCZIAPI, describing an attachment to be added to a CZI-file.
Fields§
§guid: [c_uchar; 16]< The GUID of the attachment.
contentFileType: [c_uchar; 8]< The content file type.
name: [c_uchar; 80]< The name of the attachment.
size_attachment_data: c_uint< The size of the attachment data (in bytes).
attachment_data: *const c_void< Pointer to the attachment data.
Trait Implementations§
Source§impl Clone for AddAttachmentInfoInterop
impl Clone for AddAttachmentInfoInterop
Source§fn clone(&self) -> AddAttachmentInfoInterop
fn clone(&self) -> AddAttachmentInfoInterop
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 moreSource§impl Debug for AddAttachmentInfoInterop
impl Debug for AddAttachmentInfoInterop
impl Copy for AddAttachmentInfoInterop
Auto Trait Implementations§
impl Freeze for AddAttachmentInfoInterop
impl RefUnwindSafe for AddAttachmentInfoInterop
impl !Send for AddAttachmentInfoInterop
impl !Sync for AddAttachmentInfoInterop
impl Unpin for AddAttachmentInfoInterop
impl UnsafeUnpin for AddAttachmentInfoInterop
impl UnwindSafe for AddAttachmentInfoInterop
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