pub struct CoercionSummary {
pub successful_coercions: usize,
pub failed_coercions: usize,
pub coercion_details: Vec<CoercionDetail>,
}
Expand description
Summary of type coercion operations performed
Fields§
§successful_coercions: usize
Number of successful coercions
failed_coercions: usize
Number of failed coercion attempts
coercion_details: Vec<CoercionDetail>
Details of each coercion attempt
Trait Implementations§
Source§impl Clone for CoercionSummary
impl Clone for CoercionSummary
Source§fn clone(&self) -> CoercionSummary
fn clone(&self) -> CoercionSummary
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 CoercionSummary
impl RefUnwindSafe for CoercionSummary
impl Send for CoercionSummary
impl Sync for CoercionSummary
impl Unpin for CoercionSummary
impl UnwindSafe for CoercionSummary
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