Struct dynamic::Described [] [src]

pub struct Described<T: ?Sized> {
    pub data: T,
    // some fields omitted
}

A value T paired with its type descriptor.

Can be converted to a Dynamic value.

Fields

The described data.

Methods

impl<T: Any> Described<T>
[src]

Create a new Described instance that can be converted to a Dynamic.

Read the type id for this value.

Trait Implementations

impl<T: Copy + ?Sized> Copy for Described<T>
[src]

impl<T: Clone + ?Sized> Clone for Described<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug + ?Sized> Debug for Described<T>
[src]

Formats the value using the given formatter.

impl<T: PartialEq + ?Sized> PartialEq for Described<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.