Trait mesh_protobuf::Downcast

source ·
pub trait Downcast<T> { }
Expand description

Marker trait indicating that an encoded value of T can be decoded as a Self.

Implementations on Foreign Types§

source§

impl Downcast<Infallible> for Infallible

source§

impl Downcast<bool> for bool

source§

impl Downcast<char> for char

source§

impl Downcast<f32> for f32

source§

impl Downcast<f64> for f64

source§

impl Downcast<i8> for i8

source§

impl Downcast<i16> for i16

source§

impl Downcast<i32> for i32

source§

impl Downcast<i64> for i64

source§

impl Downcast<isize> for isize

source§

impl Downcast<u8> for u8

source§

impl Downcast<u16> for u16

source§

impl Downcast<u32> for u32

source§

impl Downcast<u64> for u64

source§

impl Downcast<u128> for u128

source§

impl Downcast<()> for ()

source§

impl Downcast<usize> for usize

source§

impl Downcast<String> for String

source§

impl Downcast<NonZero<i8>> for NonZeroI8

source§

impl Downcast<NonZero<i16>> for NonZeroI16

source§

impl Downcast<NonZero<i32>> for NonZeroI32

source§

impl Downcast<NonZero<i64>> for NonZeroI64

source§

impl Downcast<NonZero<isize>> for NonZeroIsize

source§

impl Downcast<NonZero<u8>> for NonZeroU8

source§

impl Downcast<NonZero<u16>> for NonZeroU16

source§

impl Downcast<NonZero<u32>> for NonZeroU32

source§

impl Downcast<NonZero<u64>> for NonZeroU64

source§

impl Downcast<NonZero<usize>> for NonZeroUsize

source§

impl Downcast<Wrapping<u64>> for Wrapping<u64>

source§

impl Downcast<Duration> for Duration

source§

impl<E0, U0> Downcast<(U0,)> for (E0,)
where E0: Downcast<U0>,

source§

impl<E0, U0, E1, U1> Downcast<(U0, U1)> for (E0, E1)
where E0: Downcast<U0>, E1: Downcast<U1>,

source§

impl<E0, U0, E1, U1, E2, U2> Downcast<(U0, U1, U2)> for (E0, E1, E2)
where E0: Downcast<U0>, E1: Downcast<U1>, E2: Downcast<U2>,

source§

impl<E0, U0, E1, U1, E2, U2, E3, U3> Downcast<(U0, U1, U2, U3)> for (E0, E1, E2, E3)
where E0: Downcast<U0>, E1: Downcast<U1>, E2: Downcast<U2>, E3: Downcast<U3>,

source§

impl<E0, U0, E1, U1, E2, U2, E3, U3, E4, U4> Downcast<(U0, U1, U2, U3, U4)> for (E0, E1, E2, E3, E4)
where E0: Downcast<U0>, E1: Downcast<U1>, E2: Downcast<U2>, E3: Downcast<U3>, E4: Downcast<U4>,

source§

impl<E0, U0, E1, U1, E2, U2, E3, U3, E4, U4, E5, U5> Downcast<(U0, U1, U2, U3, U4, U5)> for (E0, E1, E2, E3, E4, E5)
where E0: Downcast<U0>, E1: Downcast<U1>, E2: Downcast<U2>, E3: Downcast<U3>, E4: Downcast<U4>, E5: Downcast<U5>,

source§

impl<E0, U0, E1, U1, E2, U2, E3, U3, E4, U4, E5, U5, E6, U6> Downcast<(U0, U1, U2, U3, U4, U5, U6)> for (E0, E1, E2, E3, E4, E5, E6)
where E0: Downcast<U0>, E1: Downcast<U1>, E2: Downcast<U2>, E3: Downcast<U3>, E4: Downcast<U4>, E5: Downcast<U5>, E6: Downcast<U6>,

source§

impl<T> Downcast<Range<T>> for Range<T>

source§

impl<T, U> Downcast<Option<U>> for Option<T>
where T: Downcast<U>,

source§

impl<T, U> Downcast<Box<U>> for Box<T>
where T: Downcast<U>,

source§

impl<T, U> Downcast<Arc<U>> for Arc<T>
where T: Downcast<U>,

source§

impl<T, U> Downcast<Vec<U>> for Vec<T>
where T: Downcast<U>,

source§

impl<T, U, T_mapped, U_mapped> Downcast<Result<T_mapped, U_mapped>> for Result<T, U>
where T: Downcast<T_mapped>, U: Downcast<U_mapped>,

source§

impl<T, U, const N: usize> Downcast<[U; N]> for Option<[T; N]>
where T: Downcast<U>,

Implementors§