pub struct AttachmentInfo(/* private fields */);Expand description
This structure contains the information about an attachment. Note that performance reasons we use a fixed-size array for the name. In the rare case that the name is too long to fit into the fixed-size array, the ‘overflow’ field is set to true. In this case, the name is truncated and the ‘overflow’ field is set to true. In addition, the field ‘name_in_case_of_overflow’ then contains the full text, allocated with ‘libCZI_AllocateString’ (and responsibility for releasing the memory is with the caller).
Implementations§
Trait Implementations§
Source§impl Clone for AttachmentInfo
impl Clone for AttachmentInfo
Source§fn clone(&self) -> AttachmentInfo
fn clone(&self) -> AttachmentInfo
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 AttachmentInfo
impl Debug for AttachmentInfo
Auto Trait Implementations§
impl Freeze for AttachmentInfo
impl RefUnwindSafe for AttachmentInfo
impl !Send for AttachmentInfo
impl !Sync for AttachmentInfo
impl Unpin for AttachmentInfo
impl UnsafeUnpin for AttachmentInfo
impl UnwindSafe for AttachmentInfo
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