[−][src]Struct cbor_tools::Tagged
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 Clone for Tagged
[src]
impl Debug for Tagged
[src]
impl PartialEq<Tagged> for Tagged
[src]
impl StructuralPartialEq for Tagged
[src]
Auto Trait Implementations
impl RefUnwindSafe for Tagged
[src]
impl Send for Tagged
[src]
impl Sync for Tagged
[src]
impl Unpin for Tagged
[src]
impl UnwindSafe for Tagged
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,