pub struct Described<T: ?Sized> {
pub data: T,
/* private fields */
}
Expand description
A value T paired with its type descriptor.
Can be converted to a Dynamic
value.
Fields§
§data: T
The described data.
Implementations§
Trait Implementations§
impl<T: Copy + ?Sized> Copy for Described<T>
impl<T: ?Sized> StructuralPartialEq for Described<T>
Auto Trait Implementations§
impl<T> Freeze for Described<T>
impl<T> RefUnwindSafe for Described<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for Described<T>
impl<T> Sync for Described<T>
impl<T> Unpin for Described<T>
impl<T> UnwindSafe for Described<T>where
T: UnwindSafe + ?Sized,
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