pub struct AddAttachmentInfo(/* private fields */);Expand description
This structure is used to pass the attachment information to libCZIAPI, describing an attachment to be added to a CZI-file.
Implementations§
Source§impl AddAttachmentInfo
impl AddAttachmentInfo
pub fn new( guid: [u8; 16], content_file_type: [u8; 8], name: [u8; 80], attachment_data: &[u8], ) -> Self
pub fn get_guid(&self) -> [u8; 16]
pub fn get_content_file_type(&self) -> [u8; 8]
pub fn get_name(&self) -> [u8; 80]
pub fn get_size_attachment_data(&self) -> u32
pub fn get_attachment_data(&self) -> Vec<u8> ⓘ
pub fn set_guid(&mut self, guid: [u8; 16])
pub fn set_content_file_type(&mut self, content_file_type: [u8; 8])
pub fn set_name(&mut self, name: [u8; 80])
pub fn set_attachment_data(&mut self, attachment_data: &[u8])
Trait Implementations§
Source§impl Clone for AddAttachmentInfo
impl Clone for AddAttachmentInfo
Source§fn clone(&self) -> AddAttachmentInfo
fn clone(&self) -> AddAttachmentInfo
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 AddAttachmentInfo
impl RefUnwindSafe for AddAttachmentInfo
impl !Send for AddAttachmentInfo
impl !Sync for AddAttachmentInfo
impl Unpin for AddAttachmentInfo
impl UnsafeUnpin for AddAttachmentInfo
impl UnwindSafe for AddAttachmentInfo
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