pub struct DecodeOutcome<W> {
pub decoded: Rect,
pub warnings: Vec<W>,
}Expand description
Successful decode metadata plus non-fatal warnings.
Fields§
§decoded: RectSource/output rectangle actually decoded.
warnings: Vec<W>Non-fatal warnings observed during decode.
Implementations§
Trait Implementations§
Source§impl<W: Clone> Clone for DecodeOutcome<W>
impl<W: Clone> Clone for DecodeOutcome<W>
Source§fn clone(&self) -> DecodeOutcome<W>
fn clone(&self) -> DecodeOutcome<W>
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<W: Debug> Debug for DecodeOutcome<W>
impl<W: Debug> Debug for DecodeOutcome<W>
impl<W: Eq> Eq for DecodeOutcome<W>
Source§impl<W: PartialEq> PartialEq for DecodeOutcome<W>
impl<W: PartialEq> PartialEq for DecodeOutcome<W>
impl<W: PartialEq> StructuralPartialEq for DecodeOutcome<W>
Auto Trait Implementations§
impl<W> Freeze for DecodeOutcome<W>
impl<W> RefUnwindSafe for DecodeOutcome<W>where
W: RefUnwindSafe,
impl<W> Send for DecodeOutcome<W>where
W: Send,
impl<W> Sync for DecodeOutcome<W>where
W: Sync,
impl<W> Unpin for DecodeOutcome<W>where
W: Unpin,
impl<W> UnsafeUnpin for DecodeOutcome<W>
impl<W> UnwindSafe for DecodeOutcome<W>where
W: UnwindSafe,
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