pub struct Tagged { /* private fields */ }Expand description
A tagged value.
A Tagged value contains a numeric tag, which specifies some additional information, and a payload value, which may be of any type (though some tags are only expected to be used with particular types).
Use Tag::wrap to create a Tagged.
Trait Implementations§
impl StructuralPartialEq for Tagged
Auto Trait Implementations§
impl Freeze for Tagged
impl RefUnwindSafe for Tagged
impl Send for Tagged
impl Sync for Tagged
impl Unpin for Tagged
impl UnwindSafe for Tagged
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