[−][src]Trait amadeus::data::DowncastFrom
This trait lets one downcast a generic type like Value
to a specific type like
u64
.
It exists, rather than for example using TryInto
, due to
coherence issues with downcasting to foreign types like Option<T>
.
Required methods
fn downcast_from(t: T) -> Result<Self, DowncastError>
Implementations on Foreign Types
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
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
J: DowncastFrom<Value>,
K: DowncastFrom<Value>,
L: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
J: DowncastFrom<Value>,
K: DowncastFrom<Value>,
L: DowncastFrom<Value>,
fn downcast_from(
self_: Group
) -> Result<(A, B, C, D, E, F, G, H, I, J, K, L), DowncastError>
[src]
self_: Group
) -> Result<(A, B, C, D, E, F, G, H, I, J, K, L), DowncastError>
impl<T> DowncastFrom<Value> for [T; 30] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 30], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 12] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 12], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 32] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 32], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 16] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 16], DowncastError>
[src]
impl<A, B, C, D> DowncastFrom<Group> for (A, B, C, D) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
fn downcast_from(self_: Group) -> Result<(A, B, C, D), DowncastError>
[src]
impl DowncastFrom<Value> for ()
[src]
fn downcast_from(self_: Value) -> Result<(), DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 11] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 11], 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
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
fn downcast_from(
self_: Group
) -> Result<(A, B, C, D, E, F, G, H, I), DowncastError>
[src]
self_: Group
) -> Result<(A, B, C, D, E, F, G, H, I), DowncastError>
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
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
J: DowncastFrom<Value>,
K: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
J: DowncastFrom<Value>,
K: DowncastFrom<Value>,
fn downcast_from(
self_: Group
) -> Result<(A, B, C, D, E, F, G, H, I, J, K), DowncastError>
[src]
self_: Group
) -> Result<(A, B, C, D, E, F, G, H, I, J, K), DowncastError>
impl<A, B> DowncastFrom<Group> for (A, B) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
fn downcast_from(self_: Group) -> Result<(A, B), DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 31] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 31], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 2] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 2], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 3] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 3], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 26] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 26], DowncastError>
[src]
impl DowncastFrom<Value> for u64
[src]
fn downcast_from(self_: Value) -> Result<u64, DowncastError>
[src]
impl<A, B, C, D, E, F, G, H> DowncastFrom<Group> for (A, B, C, D, E, F, G, H) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
fn downcast_from(
self_: Group
) -> Result<(A, B, C, D, E, F, G, H), DowncastError>
[src]
self_: Group
) -> Result<(A, B, C, D, E, F, G, H), DowncastError>
impl<T> DowncastFrom<Value> for [T; 24] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 24], DowncastError>
[src]
impl<A, B, C> DowncastFrom<Value> for (A, B, C) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<(A, B, C), DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 20] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 20], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 22] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 22], DowncastError>
[src]
impl<A, B, C, D, E, F> DowncastFrom<Value> for (A, B, C, D, E, F) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<(A, B, C, D, E, F), DowncastError>
[src]
impl DowncastFrom<Value> for i16
[src]
fn downcast_from(self_: Value) -> Result<i16, DowncastError>
[src]
impl<A, B, C, D, E, F, G, H, I, J, K> DowncastFrom<Value> for (A, B, C, D, E, F, G, H, I, J, K) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
J: DowncastFrom<Value>,
K: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
J: DowncastFrom<Value>,
K: DowncastFrom<Value>,
fn downcast_from(
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I, J, K), DowncastError>
[src]
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I, J, K), DowncastError>
impl<T> DowncastFrom<Value> for [T; 5] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 5], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 21] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 21], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 27] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 27], DowncastError>
[src]
impl<A, B> DowncastFrom<Value> for (A, B) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<(A, B), DowncastError>
[src]
impl DowncastFrom<Value> for u16
[src]
fn downcast_from(self_: Value) -> Result<u16, DowncastError>
[src]
impl DowncastFrom<Value> for i8
[src]
fn downcast_from(self_: Value) -> Result<i8, DowncastError>
[src]
impl DowncastFrom<Value> for i32
[src]
fn downcast_from(self_: Value) -> Result<i32, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 29] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 29], DowncastError>
[src]
impl<A, B> DowncastFrom<A> for Box<B> where
B: DowncastFrom<A>,
[src]
B: DowncastFrom<A>,
fn downcast_from(t: A) -> Result<Box<B>, DowncastError> where
Box<B>: Sized,
[src]
Box<B>: Sized,
impl DowncastFrom<Value> for f32
[src]
fn downcast_from(self_: Value) -> Result<f32, DowncastError>
[src]
impl DowncastFrom<Value> for f64
[src]
fn downcast_from(self_: Value) -> Result<f64, DowncastError>
[src]
impl<A, B, C, D, E, F, G, H> DowncastFrom<Value> for (A, B, C, D, E, F, G, H) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
fn downcast_from(
self_: Value
) -> Result<(A, B, C, D, E, F, G, H), DowncastError>
[src]
self_: Value
) -> Result<(A, B, C, D, E, F, G, H), DowncastError>
impl<T> DowncastFrom<Value> for [T; 10] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 10], DowncastError>
[src]
impl DowncastFrom<Group> for ()
[src]
fn downcast_from(self_: Group) -> Result<(), DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 0] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 0], DowncastError>
[src]
impl<A, B, C, D, E, F, G, H, I> DowncastFrom<Value> for (A, B, C, D, E, F, G, H, I) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
fn downcast_from(
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I), DowncastError>
[src]
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I), DowncastError>
impl<A, B, C, D, E> DowncastFrom<Value> for (A, B, C, D, E) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<(A, B, C, D, E), DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 15] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 15], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 17] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 17], DowncastError>
[src]
impl DowncastFrom<Value> for u32
[src]
fn downcast_from(self_: Value) -> Result<u32, DowncastError>
[src]
impl DowncastFrom<Value> for u8
[src]
fn downcast_from(self_: Value) -> Result<u8, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 23] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 23], DowncastError>
[src]
impl<A, B, C, D> DowncastFrom<Value> for (A, B, C, D) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<(A, B, C, D), DowncastError>
[src]
impl<T> DowncastFrom<Value> for Option<T> where
T: DowncastFrom<Value>,
[src]
T: DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<Option<T>, DowncastError>
[src]
impl<A, B, C> DowncastFrom<Group> for (A, B, C) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
fn downcast_from(self_: Group) -> Result<(A, B, C), DowncastError>
[src]
impl DowncastFrom<Value> for bool
[src]
fn downcast_from(self_: Value) -> Result<bool, DowncastError>
[src]
impl<A> DowncastFrom<Value> for (A,) where
A: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<(A,), DowncastError>
[src]
impl<A> DowncastFrom<Group> for (A,) where
A: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
fn downcast_from(self_: Group) -> Result<(A,), DowncastError>
[src]
impl<A, B, C, D, E, F, G, H, I, J, K, L> DowncastFrom<Value> for (A, B, C, D, E, F, G, H, I, J, K, L) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
J: DowncastFrom<Value>,
K: DowncastFrom<Value>,
L: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
J: DowncastFrom<Value>,
K: DowncastFrom<Value>,
L: DowncastFrom<Value>,
fn downcast_from(
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I, J, K, L), DowncastError>
[src]
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I, J, K, L), DowncastError>
impl<T> DowncastFrom<Value> for [T; 25] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 25], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 4] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 4], DowncastError>
[src]
impl<A, B, C, D, E, F, G, H, I, J> DowncastFrom<Value> for (A, B, C, D, E, F, G, H, I, J) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
J: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
J: DowncastFrom<Value>,
fn downcast_from(
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I, J), DowncastError>
[src]
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I, J), DowncastError>
impl<T> DowncastFrom<Value> for [T; 19] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 19], DowncastError>
[src]
impl<A, B, C, D, E, F> DowncastFrom<Group> for (A, B, C, D, E, F) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
fn downcast_from(self_: Group) -> Result<(A, B, C, D, E, F), DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 8] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 8], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 7] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 7], DowncastError>
[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
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
J: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
H: DowncastFrom<Value>,
I: DowncastFrom<Value>,
J: DowncastFrom<Value>,
fn downcast_from(
self_: Group
) -> Result<(A, B, C, D, E, F, G, H, I, J), DowncastError>
[src]
self_: Group
) -> Result<(A, B, C, D, E, F, G, H, I, J), DowncastError>
impl<A, B, C, D, E> DowncastFrom<Group> for (A, B, C, D, E) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
fn downcast_from(self_: Group) -> Result<(A, B, C, D, E), DowncastError>
[src]
impl<A, B, C, D, E, F, G> DowncastFrom<Value> for (A, B, C, D, E, F, G) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<(A, B, C, D, E, F, G), DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 9] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 9], DowncastError>
[src]
impl<K, V, S> DowncastFrom<Value> for HashMap<K, V, S> where
K: DowncastFrom<Value> + Hash + Eq,
S: BuildHasher + Default,
V: DowncastFrom<Value>,
[src]
K: DowncastFrom<Value> + Hash + Eq,
S: BuildHasher + Default,
V: DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<HashMap<K, V, S>, DowncastError>
[src]
impl<A, B, C, D, E, F, G> DowncastFrom<Group> for (A, B, C, D, E, F, G) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
[src]
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
F: DowncastFrom<Value>,
G: DowncastFrom<Value>,
fn downcast_from(self_: Group) -> Result<(A, B, C, D, E, F, G), DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 18] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 18], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 6] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 6], DowncastError>
[src]
impl DowncastFrom<Value> for i64
[src]
fn downcast_from(self_: Value) -> Result<i64, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 1] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 1], DowncastError>
[src]
impl DowncastFrom<Value> for String
[src]
fn downcast_from(self_: Value) -> Result<String, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 13] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 13], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 28] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 28], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 14] where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,
fn downcast_from(self_: Value) -> Result<[T; 14], DowncastError>
[src]
Implementors
impl DowncastFrom<Value> for Decimal
[src]
fn downcast_from(self_: Value) -> Result<Decimal, DowncastError>
[src]
impl DowncastFrom<Value> for IpAddr
[src]
fn downcast_from(self_: Value) -> Result<IpAddr, DowncastError>
[src]
impl DowncastFrom<Value> for Value
[src]
fn downcast_from(self_: Value) -> Result<Value, DowncastError>
[src]
impl DowncastFrom<Value> for Bson
[src]
fn downcast_from(self_: Value) -> Result<Bson, DowncastError>
[src]
impl DowncastFrom<Value> for CloudfrontRow
[src]
fn downcast_from(t: Value) -> Result<Self, DowncastError>
[src]
impl DowncastFrom<Value> for Date
[src]
fn downcast_from(self_: Value) -> Result<Date, DowncastError>
[src]
impl DowncastFrom<Value> for DateTime
[src]
fn downcast_from(self_: Value) -> Result<DateTime, DowncastError>
[src]
impl DowncastFrom<Value> for DateTimeWithoutTimezone
[src]
fn downcast_from(self_: Value) -> Result<DateTimeWithoutTimezone, DowncastError>
[src]
impl DowncastFrom<Value> for DateWithoutTimezone
[src]
fn downcast_from(self_: Value) -> Result<DateWithoutTimezone, DowncastError>
[src]
impl DowncastFrom<Value> for Enum
[src]
fn downcast_from(self_: Value) -> Result<Enum, DowncastError>
[src]
impl DowncastFrom<Value> for Group
[src]
fn downcast_from(self_: Value) -> Result<Group, DowncastError>
[src]
impl DowncastFrom<Value> for Json
[src]
fn downcast_from(self_: Value) -> Result<Json, DowncastError>
[src]
impl DowncastFrom<Value> for Time
[src]
fn downcast_from(self_: Value) -> Result<Time, DowncastError>
[src]
impl DowncastFrom<Value> for TimeWithoutTimezone
[src]
fn downcast_from(self_: Value) -> Result<TimeWithoutTimezone, DowncastError>
[src]
impl DowncastFrom<Value> for Timezone
[src]
fn downcast_from(self_: Value) -> Result<Timezone, DowncastError>
[src]
impl DowncastFrom<Value> for Url
[src]
fn downcast_from(self_: Value) -> Result<Url, DowncastError>
[src]
impl DowncastFrom<Value> for Webpage<'static>
[src]
fn downcast_from(self_: Value) -> Result<Webpage<'static>, DowncastError>
[src]
impl<T> DowncastFrom<Value> for List<T> where
T: Data + DowncastFrom<Value>,
[src]
T: Data + DowncastFrom<Value>,