Struct thrift_codec::data::Set [] [src]

pub struct Set { /* fields omitted */ }

Set.

Note that internally this has the same representation with List. No duplicate elements are removed.

Methods

impl Set
[src]

[src]

Makes a new Set instance.

Methods from Deref<Target = Elements>

[src]

Returns the element placed at the specified index.

[src]

Returns the element count of this sequence.

[src]

Returns true if this sequence has no elements.

[src]

Returns an iterator over the elements of this sequence.

[src]

Returns the kind of the elements in this sequence.

Trait Implementations

impl Debug for Set
[src]

[src]

Formats the value using the given formatter.

impl Clone for Set
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Set
[src]

[src]

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

[src]

This method tests for !=.

impl Deref for Set
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl From<Vec<bool>> for Set
[src]

[src]

Performs the conversion.

impl From<Vec<i8>> for Set
[src]

[src]

Performs the conversion.

impl From<Vec<i16>> for Set
[src]

[src]

Performs the conversion.

impl From<Vec<i32>> for Set
[src]

[src]

Performs the conversion.

impl From<Vec<i64>> for Set
[src]

[src]

Performs the conversion.

impl From<Vec<f64>> for Set
[src]

[src]

Performs the conversion.

impl From<Vec<Vec<u8>>> for Set
[src]

[src]

Performs the conversion.

impl From<Vec<Struct>> for Set
[src]

[src]

Performs the conversion.

impl From<Vec<Map>> for Set
[src]

[src]

Performs the conversion.

impl From<Vec<Set>> for Set
[src]

[src]

Performs the conversion.

impl From<Vec<List>> for Set
[src]

[src]

Performs the conversion.

impl BinaryDecode for Set
[src]

[src]

Decodes an object.

impl CompactDecode for Set
[src]

[src]

Decodes an object.

impl BinaryEncode for Set
[src]

[src]

Encodes an object.

impl CompactEncode for Set
[src]

[src]

Encodes an object.