pub struct OpaqueShape {
pub type_name: &'static str,
pub reason: OpaqueReason,
pub detail: Option<&'static str>,
}Expand description
Shape intentionally left opaque.
Fields§
§type_name: &'static strThe Rust type or Serde item that is opaque.
reason: OpaqueReasonWhy the shape is opaque.
detail: Option<&'static str>Additional human-readable detail.
Trait Implementations§
Source§impl Clone for OpaqueShape
impl Clone for OpaqueShape
Source§fn clone(&self) -> OpaqueShape
fn clone(&self) -> OpaqueShape
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 OpaqueShape
impl Debug for OpaqueShape
impl Eq for OpaqueShape
Source§impl PartialEq for OpaqueShape
impl PartialEq for OpaqueShape
Source§fn eq(&self, other: &OpaqueShape) -> bool
fn eq(&self, other: &OpaqueShape) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpaqueShape
Auto Trait Implementations§
impl Freeze for OpaqueShape
impl RefUnwindSafe for OpaqueShape
impl Send for OpaqueShape
impl Sync for OpaqueShape
impl Unpin for OpaqueShape
impl UnsafeUnpin for OpaqueShape
impl UnwindSafe for OpaqueShape
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