#[repr(C, align(8))]pub struct ImageOptimizerErrorDetail {
pub tag: ImageOptimizerErrorTag,
pub message: *const u8,
pub message_len: usize,
}Fields§
§tag: ImageOptimizerErrorTag§message: *const u8§message_len: usizeImplementations§
Source§impl ImageOptimizerErrorDetail
impl ImageOptimizerErrorDetail
pub fn uninitialized() -> Self
Trait Implementations§
Source§impl Clone for ImageOptimizerErrorDetail
impl Clone for ImageOptimizerErrorDetail
Source§fn clone(&self) -> ImageOptimizerErrorDetail
fn clone(&self) -> ImageOptimizerErrorDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImageOptimizerErrorDetail
impl Debug for ImageOptimizerErrorDetail
impl Eq for ImageOptimizerErrorDetail
Source§impl PartialEq for ImageOptimizerErrorDetail
impl PartialEq for ImageOptimizerErrorDetail
Source§fn eq(&self, other: &ImageOptimizerErrorDetail) -> bool
fn eq(&self, other: &ImageOptimizerErrorDetail) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImageOptimizerErrorDetail
Auto Trait Implementations§
impl !Send for ImageOptimizerErrorDetail
impl !Sync for ImageOptimizerErrorDetail
impl Freeze for ImageOptimizerErrorDetail
impl RefUnwindSafe for ImageOptimizerErrorDetail
impl Unpin for ImageOptimizerErrorDetail
impl UnsafeUnpin for ImageOptimizerErrorDetail
impl UnwindSafe for ImageOptimizerErrorDetail
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