Struct amadeus::data::Group[][src]

pub struct Group { /* fields omitted */ }
Expand description

Corresponds to Parquet groups of named fields.

Its fields can be accessed by name via get()/get_mut() and via name or ordinal with group[index].

Implementations

impl Group[src]

pub fn get(&self, k: &str) -> Option<&Value>[src]

Get a reference to the value belonging to a particular field name. Returns None if the field name doesn’t exist.

Trait Implementations

impl AmadeusOrd for Group[src]

pub fn amadeus_cmp(&self, other: &Group) -> Ordering[src]

impl Clone for Group[src]

pub fn clone(&self) -> Group[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Data for Group[src]

type Vec = Vec<Group, Global>

type DynamicType = ()

pub fn new_vec(_type: <Group as Data>::DynamicType) -> <Group as Data>::Vec[src]

impl Data for Group[src]

fn heap(&self) -> usize[src]

fn size(&self) -> usize[src]

fn cast<D: Data>(self) -> Result<D, CastError>[src]

fn eq<D: Data>(self, other: D) -> bool[src]

fn partial_cmp<D: Data>(self, other: D) -> Option<Ordering>[src]

fn hash<H: Hasher>(self, state: &mut H)[src]

impl Debug for Group[src]

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for Group[src]

pub fn deserialize<D>(
    _deserializer: D
) -> Result<Group, <D as Deserializer<'de>>::Error> where
    D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

impl<A, B, C, D, E, F, G, H, I, J, K, L> DowncastFrom<Group> for (A, B, C, D, E, F, G, H, I, J, K, L) where
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    H: DowncastFrom<Value>,
    K: DowncastFrom<Value>,
    F: DowncastFrom<Value>,
    I: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    G: DowncastFrom<Value>,
    J: DowncastFrom<Value>,
    L: DowncastFrom<Value>, 
[src]

pub fn downcast_from(
    self_: Group
) -> Result<(A, B, C, D, E, F, G, H, I, J, K, L), DowncastError>
[src]

impl<A, B, C, D, E, F, G, H, I> DowncastFrom<Group> for (A, B, C, D, E, F, G, H, I) where
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    H: DowncastFrom<Value>,
    F: DowncastFrom<Value>,
    I: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    G: DowncastFrom<Value>, 
[src]

pub fn downcast_from(
    self_: Group
) -> Result<(A, B, C, D, E, F, G, H, I), DowncastError>
[src]

impl<A, B, C, D, E, F> DowncastFrom<Group> for (A, B, C, D, E, F) where
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    F: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>, 
[src]

pub fn downcast_from(self_: Group) -> Result<(A, B, C, D, E, F), DowncastError>[src]

impl<A, B, C> DowncastFrom<Group> for (A, B, C) where
    C: DowncastFrom<Value>,
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>, 
[src]

pub fn downcast_from(self_: Group) -> Result<(A, B, C), DowncastError>[src]

impl<A, B, C, D> DowncastFrom<Group> for (A, B, C, D) where
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>, 
[src]

pub fn downcast_from(self_: Group) -> Result<(A, B, C, D), DowncastError>[src]

impl<A> DowncastFrom<Group> for (A,) where
    A: DowncastFrom<Value>, 
[src]

impl<A, B> DowncastFrom<Group> for (A, B) where
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>, 
[src]

impl<A, B, C, D, E, F, G, H, I, J> DowncastFrom<Group> for (A, B, C, D, E, F, G, H, I, J) where
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    H: DowncastFrom<Value>,
    F: DowncastFrom<Value>,
    I: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    G: DowncastFrom<Value>,
    J: DowncastFrom<Value>, 
[src]

pub fn downcast_from(
    self_: Group
) -> Result<(A, B, C, D, E, F, G, H, I, J), DowncastError>
[src]

impl<A, B, C, D, E, F, G, H, I, J, K> DowncastFrom<Group> for (A, B, C, D, E, F, G, H, I, J, K) where
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    H: DowncastFrom<Value>,
    K: DowncastFrom<Value>,
    F: DowncastFrom<Value>,
    I: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    G: DowncastFrom<Value>,
    J: DowncastFrom<Value>, 
[src]

pub fn downcast_from(
    self_: Group
) -> Result<(A, B, C, D, E, F, G, H, I, J, K), DowncastError>
[src]

impl<A, B, C, D, E, F, G> DowncastFrom<Group> for (A, B, C, D, E, F, G) where
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    F: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    G: DowncastFrom<Value>, 
[src]

pub fn downcast_from(
    self_: Group
) -> Result<(A, B, C, D, E, F, G), DowncastError>
[src]

impl<A, B, C, D, E> DowncastFrom<Group> for (A, B, C, D, E) where
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>, 
[src]

pub fn downcast_from(self_: Group) -> Result<(A, B, C, D, E), DowncastError>[src]

impl<A, B, C, D, E, F, G, H> DowncastFrom<Group> for (A, B, C, D, E, F, G, H) where
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    H: DowncastFrom<Value>,
    F: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    G: DowncastFrom<Value>, 
[src]

pub fn downcast_from(
    self_: Group
) -> Result<(A, B, C, D, E, F, G, H), DowncastError>
[src]

impl DowncastFrom<Group> for ()[src]

impl DowncastFrom<Value> for Group[src]

impl From<()> for Group[src]

pub fn from(value: ()) -> Group[src]

Performs the conversion.

impl<A, B, C, D, E, F, G, H, I, J, K, L> From<(A, B, C, D, E, F, G, H, I, J, K, L)> for Group where
    C: Into<Value>,
    D: Into<Value>,
    H: Into<Value>,
    K: Into<Value>,
    F: Into<Value>,
    I: Into<Value>,
    E: Into<Value>,
    A: Into<Value>,
    B: Into<Value>,
    G: Into<Value>,
    J: Into<Value>,
    L: Into<Value>, 
[src]

pub fn from(value: (A, B, C, D, E, F, G, H, I, J, K, L)) -> Group[src]

Performs the conversion.

impl<A, B, C, D, E, F, G, H, I, J, K> From<(A, B, C, D, E, F, G, H, I, J, K)> for Group where
    C: Into<Value>,
    D: Into<Value>,
    H: Into<Value>,
    K: Into<Value>,
    F: Into<Value>,
    I: Into<Value>,
    E: Into<Value>,
    A: Into<Value>,
    B: Into<Value>,
    G: Into<Value>,
    J: Into<Value>, 
[src]

pub fn from(value: (A, B, C, D, E, F, G, H, I, J, K)) -> Group[src]

Performs the conversion.

impl<A, B, C, D, E, F, G, H, I, J> From<(A, B, C, D, E, F, G, H, I, J)> for Group where
    C: Into<Value>,
    D: Into<Value>,
    H: Into<Value>,
    F: Into<Value>,
    I: Into<Value>,
    E: Into<Value>,
    A: Into<Value>,
    B: Into<Value>,
    G: Into<Value>,
    J: Into<Value>, 
[src]

pub fn from(value: (A, B, C, D, E, F, G, H, I, J)) -> Group[src]

Performs the conversion.

impl<A, B, C, D, E, F, G, H, I> From<(A, B, C, D, E, F, G, H, I)> for Group where
    C: Into<Value>,
    D: Into<Value>,
    H: Into<Value>,
    F: Into<Value>,
    I: Into<Value>,
    E: Into<Value>,
    A: Into<Value>,
    B: Into<Value>,
    G: Into<Value>, 
[src]

pub fn from(value: (A, B, C, D, E, F, G, H, I)) -> Group[src]

Performs the conversion.

impl<A, B, C, D, E, F, G, H> From<(A, B, C, D, E, F, G, H)> for Group where
    C: Into<Value>,
    D: Into<Value>,
    H: Into<Value>,
    F: Into<Value>,
    E: Into<Value>,
    A: Into<Value>,
    B: Into<Value>,
    G: Into<Value>, 
[src]

pub fn from(value: (A, B, C, D, E, F, G, H)) -> Group[src]

Performs the conversion.

impl<A, B, C, D, E, F, G> From<(A, B, C, D, E, F, G)> for Group where
    C: Into<Value>,
    D: Into<Value>,
    F: Into<Value>,
    E: Into<Value>,
    A: Into<Value>,
    B: Into<Value>,
    G: Into<Value>, 
[src]

pub fn from(value: (A, B, C, D, E, F, G)) -> Group[src]

Performs the conversion.

impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for Group where
    C: Into<Value>,
    D: Into<Value>,
    F: Into<Value>,
    E: Into<Value>,
    A: Into<Value>,
    B: Into<Value>, 
[src]

pub fn from(value: (A, B, C, D, E, F)) -> Group[src]

Performs the conversion.

impl<A, B, C, D, E> From<(A, B, C, D, E)> for Group where
    C: Into<Value>,
    D: Into<Value>,
    E: Into<Value>,
    A: Into<Value>,
    B: Into<Value>, 
[src]

pub fn from(value: (A, B, C, D, E)) -> Group[src]

Performs the conversion.

impl<A, B, C, D> From<(A, B, C, D)> for Group where
    C: Into<Value>,
    D: Into<Value>,
    A: Into<Value>,
    B: Into<Value>, 
[src]

pub fn from(value: (A, B, C, D)) -> Group[src]

Performs the conversion.

impl<A, B, C> From<(A, B, C)> for Group where
    C: Into<Value>,
    A: Into<Value>,
    B: Into<Value>, 
[src]

pub fn from(value: (A, B, C)) -> Group[src]

Performs the conversion.

impl<A, B> From<(A, B)> for Group where
    A: Into<Value>,
    B: Into<Value>, 
[src]

pub fn from(value: (A, B)) -> Group[src]

Performs the conversion.

impl<A> From<(A,)> for Group where
    A: Into<Value>, 
[src]

pub fn from(value: (A,)) -> Group[src]

Performs the conversion.

impl From<Group> for Value[src]

pub fn from(value: Group) -> Value[src]

Performs the conversion.

impl From<LinkedHashMap<String, Value, BuildHasherDefault<FxHasher>>> for Group[src]

pub fn from(
    hashmap: LinkedHashMap<String, Value, BuildHasherDefault<FxHasher>>
) -> Group
[src]

Performs the conversion.

impl<I> Index<I> for Group where
    I: SliceIndex<[Value]>, 
[src]

type Output = <I as SliceIndex<[Value]>>::Output

The returned type after indexing.

pub fn index(&self, index: I) -> &<Group as Index<I>>::Output[src]

Performs the indexing (container[index]) operation. Read more

impl ParquetData for Group[src]

type Schema = GroupSchema

type Reader = GroupReader

type Predicate = GroupPredicate

pub fn parse(
    schema: &Type,
    predicate: Option<&<Group as ParquetData>::Predicate>,
    repetition: Option<Repetition>
) -> Result<(String, <Group as ParquetData>::Schema), ParquetError>
[src]

Parse a [Type] into Self::Schema, using repetition instead of Type::get_basic_info().repetition(). A repetition of None denotes a root schema. Read more

pub fn reader(
    schema: &<Group as ParquetData>::Schema,
    path: &mut Vec<String, Global>,
    def_level: i16,
    rep_level: i16,
    paths: &mut HashMap<ColumnPath, ColumnReader, RandomState>,
    batch_size: usize
) -> <Group as ParquetData>::Reader
[src]

Builds tree of [Reader]s for the specified [Schema] recursively.

impl PartialEq<()> for Group[src]

pub fn eq(&self, other: &()) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F, G, H, I, J, K, L> PartialEq<(A, B, C, D, E, F, G, H, I, J, K, L)> for Group where
    Value: PartialEq<A>,
    Value: PartialEq<B>,
    Value: PartialEq<C>,
    Value: PartialEq<D>,
    Value: PartialEq<E>,
    Value: PartialEq<F>,
    Value: PartialEq<G>,
    Value: PartialEq<H>,
    Value: PartialEq<I>,
    Value: PartialEq<J>,
    Value: PartialEq<K>,
    Value: PartialEq<L>, 
[src]

pub fn eq(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F, G, H, I, J, K> PartialEq<(A, B, C, D, E, F, G, H, I, J, K)> for Group where
    Value: PartialEq<A>,
    Value: PartialEq<B>,
    Value: PartialEq<C>,
    Value: PartialEq<D>,
    Value: PartialEq<E>,
    Value: PartialEq<F>,
    Value: PartialEq<G>,
    Value: PartialEq<H>,
    Value: PartialEq<I>,
    Value: PartialEq<J>,
    Value: PartialEq<K>, 
[src]

pub fn eq(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F, G, H, I, J> PartialEq<(A, B, C, D, E, F, G, H, I, J)> for Group where
    Value: PartialEq<A>,
    Value: PartialEq<B>,
    Value: PartialEq<C>,
    Value: PartialEq<D>,
    Value: PartialEq<E>,
    Value: PartialEq<F>,
    Value: PartialEq<G>,
    Value: PartialEq<H>,
    Value: PartialEq<I>,
    Value: PartialEq<J>, 
[src]

pub fn eq(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F, G, H, I> PartialEq<(A, B, C, D, E, F, G, H, I)> for Group where
    Value: PartialEq<A>,
    Value: PartialEq<B>,
    Value: PartialEq<C>,
    Value: PartialEq<D>,
    Value: PartialEq<E>,
    Value: PartialEq<F>,
    Value: PartialEq<G>,
    Value: PartialEq<H>,
    Value: PartialEq<I>, 
[src]

pub fn eq(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F, G, H> PartialEq<(A, B, C, D, E, F, G, H)> for Group where
    Value: PartialEq<A>,
    Value: PartialEq<B>,
    Value: PartialEq<C>,
    Value: PartialEq<D>,
    Value: PartialEq<E>,
    Value: PartialEq<F>,
    Value: PartialEq<G>,
    Value: PartialEq<H>, 
[src]

pub fn eq(&self, other: &(A, B, C, D, E, F, G, H)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F, G> PartialEq<(A, B, C, D, E, F, G)> for Group where
    Value: PartialEq<A>,
    Value: PartialEq<B>,
    Value: PartialEq<C>,
    Value: PartialEq<D>,
    Value: PartialEq<E>,
    Value: PartialEq<F>,
    Value: PartialEq<G>, 
[src]

pub fn eq(&self, other: &(A, B, C, D, E, F, G)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F> PartialEq<(A, B, C, D, E, F)> for Group where
    Value: PartialEq<A>,
    Value: PartialEq<B>,
    Value: PartialEq<C>,
    Value: PartialEq<D>,
    Value: PartialEq<E>,
    Value: PartialEq<F>, 
[src]

pub fn eq(&self, other: &(A, B, C, D, E, F)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E> PartialEq<(A, B, C, D, E)> for Group where
    Value: PartialEq<A>,
    Value: PartialEq<B>,
    Value: PartialEq<C>,
    Value: PartialEq<D>,
    Value: PartialEq<E>, 
[src]

pub fn eq(&self, other: &(A, B, C, D, E)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D> PartialEq<(A, B, C, D)> for Group where
    Value: PartialEq<A>,
    Value: PartialEq<B>,
    Value: PartialEq<C>,
    Value: PartialEq<D>, 
[src]

pub fn eq(&self, other: &(A, B, C, D)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C> PartialEq<(A, B, C)> for Group where
    Value: PartialEq<A>,
    Value: PartialEq<B>,
    Value: PartialEq<C>, 
[src]

pub fn eq(&self, other: &(A, B, C)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B> PartialEq<(A, B)> for Group where
    Value: PartialEq<A>,
    Value: PartialEq<B>, 
[src]

pub fn eq(&self, other: &(A, B)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A> PartialEq<(A,)> for Group where
    Value: PartialEq<A>, 
[src]

pub fn eq(&self, other: &(A,)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<Group> for Value[src]

pub fn eq(&self, other: &Group) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<Group> for Group[src]

pub fn eq(&self, other: &Group) -> bool[src]

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

pub fn ne(&self, other: &Group) -> bool[src]

This method tests for !=.

impl PartialOrd<Group> for Group[src]

pub fn partial_cmp(&self, other: &Group) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PostgresData for Group[src]

pub fn query(
    _f: &mut Formatter<'_>,
    _name: Option<&Names<'_>>
) -> Result<(), Error>
[src]

pub fn decode(
    _type_: &Type,
    _buf: Option<&[u8]>
) -> Result<Group, Box<dyn Error + 'static + Sync + Send, Global>>
[src]

impl SerdeData for Group[src]

pub fn serialize<S>(
    &self,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
    S: Serializer
[src]

pub fn deserialize<'de, D>(
    deserializer: D,
    _schema: Option<SchemaIncomplete>
) -> Result<Group, <D as Deserializer<'de>>::Error> where
    D: Deserializer<'de>, 
[src]

impl Serialize for Group[src]

pub fn serialize<S>(
    &self,
    _serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
    S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

impl StructuralPartialEq for Group[src]

Auto Trait Implementations

impl RefUnwindSafe for Group

impl Send for Group

impl Sync for Group

impl Unpin for Group

impl UnwindSafe for Group

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Any for T where
    T: Any + Serialize + Deserialize
[src]

pub fn as_any(&self) -> &(dyn Any + 'static)[src]

Convert to a &std::any::Any.

pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)[src]

Convert to a &mut std::any::Any.

pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>[src]

Convert to a std::boxed::Box<dyn std::any::Any>.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<A, B> Downcast<A> for B where
    A: DowncastFrom<B>, 
[src]

pub fn downcast(self) -> Result<A, DowncastError>[src]

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

pub fn erased_serialize(
    &self,
    serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

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]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<T> Type for T[src]

pub const METATYPE: MetaType[src]

Enum describing whether a type is TraitObject, Slice or Concrete.

type Meta = Concrete

Type of metadata for type.

pub fn meta(self: *const T) -> <T as Type>::Meta[src]

Retrieve TraitObject, Slice or Concrete meta data respectively for a type

pub fn data(self: *const T) -> *const ()[src]

Retrieve pointer to the data

pub fn data_mut(self: *mut T) -> *mut ()[src]

Retrieve mut pointer to the data

pub fn dangling(_t: <T as Type>::Meta) -> NonNull<T>[src]

Create a dangling non-null *const Self with the provided Self::Meta.

pub fn fatten(thin: *mut (), _t: <T as Type>::Meta) -> *mut T[src]

Create a *mut Self with the provided Self::Meta.

fn meta_type(self: *const Self) -> MetaType[src]

Helper method describing whether a type is TraitObject, Slice or Concrete.

impl<T> Type for T where
    T: ?Sized
[src]

pub default fn meta(self: *const T) -> <T as Type>::Meta[src]

Retrieve TraitObject, Slice or Concrete meta data respectively for a type

pub default fn data(self: *const T) -> *const ()[src]

Retrieve pointer to the data

pub default fn data_mut(self: *mut T) -> *mut ()[src]

Retrieve mut pointer to the data

pub default fn dangling(t: <T as Type>::Meta) -> NonNull<T>[src]

Create a dangling non-null *const Self with the provided Self::Meta.

pub default fn fatten(thin: *mut (), t: <T as Type>::Meta) -> *mut T[src]

Create a *mut Self with the provided Self::Meta.

const METATYPE: MetaType[src]

Enum describing whether a type is TraitObject, Slice or Concrete.

type Meta: 'static

Type of metadata for type.

fn meta_type(self: *const Self) -> MetaType[src]

Helper method describing whether a type is TraitObject, Slice or Concrete.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> Debug for T where
    T: Debug + Serialize + Deserialize + ?Sized
[src]

impl<T> Deserialize for T where
    T: DeserializeOwned
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> ProcessSend for T where
    T: Send + Serialize + for<'de> Deserialize<'de> + ?Sized
[src]

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]