pub trait DowncastArray<'a, T> {
    // Required method
    fn downcast_array(&'a self) -> Option<T>;
}
Expand description

This trait allows downcasting an entire array of objects into a tuple of concrete payloads

Required Methods§

source

fn downcast_array(&'a self) -> Option<T>

Implementations on Foreign Types§

source§

impl<'a, A> DowncastArray<'a, (&'a A,)> for [ObjectRef]where A: ObjectPayload,

source§

fn downcast_array(&'a self) -> Option<(&'a A,)>

source§

impl<'a, A, B> DowncastArray<'a, (&'a A, &'a B)> for [ObjectRef]where A: ObjectPayload, B: ObjectPayload,

source§

impl<'a, A, B, C> DowncastArray<'a, (&'a A, &'a B, &'a C)> for [ObjectRef]where A: ObjectPayload, B: ObjectPayload, C: ObjectPayload,

source§

impl<'a, A, B, C, D> DowncastArray<'a, (&'a A, &'a B, &'a C, &'a D)> for [ObjectRef]where A: ObjectPayload, B: ObjectPayload, C: ObjectPayload, D: ObjectPayload,

source§

impl<'a, A, B, C, D, E> DowncastArray<'a, (&'a A, &'a B, &'a C, &'a D, &'a E)> for [ObjectRef]where A: ObjectPayload, B: ObjectPayload, C: ObjectPayload, D: ObjectPayload, E: ObjectPayload,

source§

impl<'a, A, B, C, D, E, F> DowncastArray<'a, (&'a A, &'a B, &'a C, &'a D, &'a E, &'a F)> for [ObjectRef]where A: ObjectPayload, B: ObjectPayload, C: ObjectPayload, D: ObjectPayload, E: ObjectPayload, F: ObjectPayload,

source§

impl<'a, A, B, C, D, E, F, G> DowncastArray<'a, (&'a A, &'a B, &'a C, &'a D, &'a E, &'a F, &'a G)> for [ObjectRef]where A: ObjectPayload, B: ObjectPayload, C: ObjectPayload, D: ObjectPayload, E: ObjectPayload, F: ObjectPayload, G: ObjectPayload,

source§

impl<'a, A, B, C, D, E, F, G, H> DowncastArray<'a, (&'a A, &'a B, &'a C, &'a D, &'a E, &'a F, &'a G, &'a H)> for [ObjectRef]where A: ObjectPayload, B: ObjectPayload, C: ObjectPayload, D: ObjectPayload, E: ObjectPayload, F: ObjectPayload, G: ObjectPayload, H: ObjectPayload,

source§

impl<'a, A, B, C, D, E, F, G, H, I> DowncastArray<'a, (&'a A, &'a B, &'a C, &'a D, &'a E, &'a F, &'a G, &'a H, &'a I)> for [ObjectRef]where A: ObjectPayload, B: ObjectPayload, C: ObjectPayload, D: ObjectPayload, E: ObjectPayload, F: ObjectPayload, G: ObjectPayload, H: ObjectPayload, I: ObjectPayload,

source§

impl<'a, A, B, C, D, E, F, G, H, I, J> DowncastArray<'a, (&'a A, &'a B, &'a C, &'a D, &'a E, &'a F, &'a G, &'a H, &'a I, &'a J)> for [ObjectRef]where A: ObjectPayload, B: ObjectPayload, C: ObjectPayload, D: ObjectPayload, E: ObjectPayload, F: ObjectPayload, G: ObjectPayload, H: ObjectPayload, I: ObjectPayload, J: ObjectPayload,

Implementors§