Trait ToAny

Source
pub trait ToAny {
    type Any;

    // Required methods
    fn any(&self) -> Self::Any;
    fn into_any(self) -> Self::Any;
}

Required Associated Types§

Required Methods§

Source

fn any(&self) -> Self::Any

Source

fn into_any(self) -> Self::Any

Implementations on Foreign Types§

Source§

impl ToAny for &[u8]

Source§

type Any = AnyVec

Source§

fn any(&self) -> Self::Any

Source§

fn into_any(self) -> Self::Any

Source§

impl ToAny for Vec<u8>

Source§

type Any = AnyVec

Source§

fn any(&self) -> Self::Any

Source§

fn into_any(self) -> Self::Any

Source§

impl ToAny for [u8; 32]

Source§

type Any = AnyHash

Source§

fn any(&self) -> Self::Any

Source§

fn into_any(self) -> Self::Any

Implementors§