[][src]Trait parity_scale_codec::EncodeLike

pub trait EncodeLike<T: Encode = Self>: Sized + Encode { }

A marker trait that tells the compiler that two types encode to the same representation.

E.g. Vec<u8> has the same encoded representation as &[u8].

Example

fn encode_like<T: EncodeLike<R>, R: Encode>(data: &R) {
    data.encode();
}

fn main() {
    // Just pass the a reference to the normal tuple.
    encode_like::<(u32, u32), _>(&(1u32, 2u32));
    // Pass a tuple of references
    encode_like::<(u32, u32), _>(&(&1u32, &2u32));
    // Pass a tuple of a reference and a value.
    encode_like::<(u32, u32), _>(&(&1u32, 2u32));
}

Implementations on Foreign Types

impl<T: ?Sized + Encode> EncodeLike<Box<T>> for Box<T>[src]

impl<T: Encode> EncodeLike<T> for Box<T>[src]

impl<'a, T: Encode> EncodeLike<&'a T> for &'a T[src]

impl<'a, T: Encode> EncodeLike<&'a mut T> for &'a mut T[src]

impl<'a, T: ToOwned + Encode + ?Sized> EncodeLike<Cow<'a, T>> for Cow<'a, T>[src]

impl<'a, T: ToOwned + Encode> EncodeLike<T> for Cow<'a, T>[src]

impl<T: Encode> EncodeLike<Arc<T>> for Arc<T>[src]

impl<T: Encode> EncodeLike<T> for Arc<T>[src]

impl<T: Encode> EncodeLike<Rc<T>> for Rc<T>[src]

impl<T: Encode> EncodeLike<T> for Rc<T>[src]

impl EncodeLike<String> for String[src]

impl<'_> EncodeLike<&'_ str> for String[src]

impl<'_> EncodeLike<String> for &'_ str[src]

impl<T: Encode, E: Encode> EncodeLike<Result<T, E>> for Result<T, E>[src]

impl<T: Encode> EncodeLike<Option<T>> for Option<T>[src]

impl<T: Encode> EncodeLike<[T; 1]> for [T; 1][src]

impl<T: Encode> EncodeLike<[T; 2]> for [T; 2][src]

impl<T: Encode> EncodeLike<[T; 3]> for [T; 3][src]

impl<T: Encode> EncodeLike<[T; 4]> for [T; 4][src]

impl<T: Encode> EncodeLike<[T; 5]> for [T; 5][src]

impl<T: Encode> EncodeLike<[T; 6]> for [T; 6][src]

impl<T: Encode> EncodeLike<[T; 7]> for [T; 7][src]

impl<T: Encode> EncodeLike<[T; 8]> for [T; 8][src]

impl<T: Encode> EncodeLike<[T; 9]> for [T; 9][src]

impl<T: Encode> EncodeLike<[T; 10]> for [T; 10][src]

impl<T: Encode> EncodeLike<[T; 11]> for [T; 11][src]

impl<T: Encode> EncodeLike<[T; 12]> for [T; 12][src]

impl<T: Encode> EncodeLike<[T; 13]> for [T; 13][src]

impl<T: Encode> EncodeLike<[T; 14]> for [T; 14][src]

impl<T: Encode> EncodeLike<[T; 15]> for [T; 15][src]

impl<T: Encode> EncodeLike<[T; 16]> for [T; 16][src]

impl<T: Encode> EncodeLike<[T; 17]> for [T; 17][src]

impl<T: Encode> EncodeLike<[T; 18]> for [T; 18][src]

impl<T: Encode> EncodeLike<[T; 19]> for [T; 19][src]

impl<T: Encode> EncodeLike<[T; 20]> for [T; 20][src]

impl<T: Encode> EncodeLike<[T; 21]> for [T; 21][src]

impl<T: Encode> EncodeLike<[T; 22]> for [T; 22][src]

impl<T: Encode> EncodeLike<[T; 23]> for [T; 23][src]

impl<T: Encode> EncodeLike<[T; 24]> for [T; 24][src]

impl<T: Encode> EncodeLike<[T; 25]> for [T; 25][src]

impl<T: Encode> EncodeLike<[T; 26]> for [T; 26][src]

impl<T: Encode> EncodeLike<[T; 27]> for [T; 27][src]

impl<T: Encode> EncodeLike<[T; 28]> for [T; 28][src]

impl<T: Encode> EncodeLike<[T; 29]> for [T; 29][src]

impl<T: Encode> EncodeLike<[T; 30]> for [T; 30][src]

impl<T: Encode> EncodeLike<[T; 31]> for [T; 31][src]

impl<T: Encode> EncodeLike<[T; 32]> for [T; 32][src]

impl<T: Encode> EncodeLike<[T; 33]> for [T; 33][src]

impl<T: Encode> EncodeLike<[T; 34]> for [T; 34][src]

impl<T: Encode> EncodeLike<[T; 35]> for [T; 35][src]

impl<T: Encode> EncodeLike<[T; 36]> for [T; 36][src]

impl<T: Encode> EncodeLike<[T; 37]> for [T; 37][src]

impl<T: Encode> EncodeLike<[T; 38]> for [T; 38][src]

impl<T: Encode> EncodeLike<[T; 39]> for [T; 39][src]

impl<T: Encode> EncodeLike<[T; 40]> for [T; 40][src]

impl<T: Encode> EncodeLike<[T; 41]> for [T; 41][src]

impl<T: Encode> EncodeLike<[T; 42]> for [T; 42][src]

impl<T: Encode> EncodeLike<[T; 43]> for [T; 43][src]

impl<T: Encode> EncodeLike<[T; 44]> for [T; 44][src]

impl<T: Encode> EncodeLike<[T; 45]> for [T; 45][src]

impl<T: Encode> EncodeLike<[T; 46]> for [T; 46][src]

impl<T: Encode> EncodeLike<[T; 47]> for [T; 47][src]

impl<T: Encode> EncodeLike<[T; 48]> for [T; 48][src]

impl<T: Encode> EncodeLike<[T; 49]> for [T; 49][src]

impl<T: Encode> EncodeLike<[T; 50]> for [T; 50][src]

impl<T: Encode> EncodeLike<[T; 51]> for [T; 51][src]

impl<T: Encode> EncodeLike<[T; 52]> for [T; 52][src]

impl<T: Encode> EncodeLike<[T; 53]> for [T; 53][src]

impl<T: Encode> EncodeLike<[T; 54]> for [T; 54][src]

impl<T: Encode> EncodeLike<[T; 55]> for [T; 55][src]

impl<T: Encode> EncodeLike<[T; 56]> for [T; 56][src]

impl<T: Encode> EncodeLike<[T; 57]> for [T; 57][src]

impl<T: Encode> EncodeLike<[T; 58]> for [T; 58][src]

impl<T: Encode> EncodeLike<[T; 59]> for [T; 59][src]

impl<T: Encode> EncodeLike<[T; 60]> for [T; 60][src]

impl<T: Encode> EncodeLike<[T; 61]> for [T; 61][src]

impl<T: Encode> EncodeLike<[T; 62]> for [T; 62][src]

impl<T: Encode> EncodeLike<[T; 63]> for [T; 63][src]

impl<T: Encode> EncodeLike<[T; 64]> for [T; 64][src]

impl<T: Encode> EncodeLike<[T; 65]> for [T; 65][src]

impl<T: Encode> EncodeLike<[T; 66]> for [T; 66][src]

impl<T: Encode> EncodeLike<[T; 67]> for [T; 67][src]

impl<T: Encode> EncodeLike<[T; 68]> for [T; 68][src]

impl<T: Encode> EncodeLike<[T; 69]> for [T; 69][src]

impl<T: Encode> EncodeLike<[T; 70]> for [T; 70][src]

impl<T: Encode> EncodeLike<[T; 71]> for [T; 71][src]

impl<T: Encode> EncodeLike<[T; 72]> for [T; 72][src]

impl<T: Encode> EncodeLike<[T; 73]> for [T; 73][src]

impl<T: Encode> EncodeLike<[T; 74]> for [T; 74][src]

impl<T: Encode> EncodeLike<[T; 75]> for [T; 75][src]

impl<T: Encode> EncodeLike<[T; 76]> for [T; 76][src]

impl<T: Encode> EncodeLike<[T; 77]> for [T; 77][src]

impl<T: Encode> EncodeLike<[T; 78]> for [T; 78][src]

impl<T: Encode> EncodeLike<[T; 79]> for [T; 79][src]

impl<T: Encode> EncodeLike<[T; 80]> for [T; 80][src]

impl<T: Encode> EncodeLike<[T; 81]> for [T; 81][src]

impl<T: Encode> EncodeLike<[T; 82]> for [T; 82][src]

impl<T: Encode> EncodeLike<[T; 83]> for [T; 83][src]

impl<T: Encode> EncodeLike<[T; 84]> for [T; 84][src]

impl<T: Encode> EncodeLike<[T; 85]> for [T; 85][src]

impl<T: Encode> EncodeLike<[T; 86]> for [T; 86][src]

impl<T: Encode> EncodeLike<[T; 87]> for [T; 87][src]

impl<T: Encode> EncodeLike<[T; 88]> for [T; 88][src]

impl<T: Encode> EncodeLike<[T; 89]> for [T; 89][src]

impl<T: Encode> EncodeLike<[T; 90]> for [T; 90][src]

impl<T: Encode> EncodeLike<[T; 91]> for [T; 91][src]

impl<T: Encode> EncodeLike<[T; 92]> for [T; 92][src]

impl<T: Encode> EncodeLike<[T; 93]> for [T; 93][src]

impl<T: Encode> EncodeLike<[T; 94]> for [T; 94][src]

impl<T: Encode> EncodeLike<[T; 95]> for [T; 95][src]

impl<T: Encode> EncodeLike<[T; 96]> for [T; 96][src]

impl<T: Encode> EncodeLike<[T; 97]> for [T; 97][src]

impl<T: Encode> EncodeLike<[T; 98]> for [T; 98][src]

impl<T: Encode> EncodeLike<[T; 99]> for [T; 99][src]

impl<T: Encode> EncodeLike<[T; 100]> for [T; 100][src]

impl<T: Encode> EncodeLike<[T; 101]> for [T; 101][src]

impl<T: Encode> EncodeLike<[T; 102]> for [T; 102][src]

impl<T: Encode> EncodeLike<[T; 103]> for [T; 103][src]

impl<T: Encode> EncodeLike<[T; 104]> for [T; 104][src]

impl<T: Encode> EncodeLike<[T; 105]> for [T; 105][src]

impl<T: Encode> EncodeLike<[T; 106]> for [T; 106][src]

impl<T: Encode> EncodeLike<[T; 107]> for [T; 107][src]

impl<T: Encode> EncodeLike<[T; 108]> for [T; 108][src]

impl<T: Encode> EncodeLike<[T; 109]> for [T; 109][src]

impl<T: Encode> EncodeLike<[T; 110]> for [T; 110][src]

impl<T: Encode> EncodeLike<[T; 111]> for [T; 111][src]

impl<T: Encode> EncodeLike<[T; 112]> for [T; 112][src]

impl<T: Encode> EncodeLike<[T; 113]> for [T; 113][src]

impl<T: Encode> EncodeLike<[T; 114]> for [T; 114][src]

impl<T: Encode> EncodeLike<[T; 115]> for [T; 115][src]

impl<T: Encode> EncodeLike<[T; 116]> for [T; 116][src]

impl<T: Encode> EncodeLike<[T; 117]> for [T; 117][src]

impl<T: Encode> EncodeLike<[T; 118]> for [T; 118][src]

impl<T: Encode> EncodeLike<[T; 119]> for [T; 119][src]

impl<T: Encode> EncodeLike<[T; 120]> for [T; 120][src]

impl<T: Encode> EncodeLike<[T; 121]> for [T; 121][src]

impl<T: Encode> EncodeLike<[T; 122]> for [T; 122][src]

impl<T: Encode> EncodeLike<[T; 123]> for [T; 123][src]

impl<T: Encode> EncodeLike<[T; 124]> for [T; 124][src]

impl<T: Encode> EncodeLike<[T; 125]> for [T; 125][src]

impl<T: Encode> EncodeLike<[T; 126]> for [T; 126][src]

impl<T: Encode> EncodeLike<[T; 127]> for [T; 127][src]

impl<T: Encode> EncodeLike<[T; 128]> for [T; 128][src]

impl<T: Encode> EncodeLike<[T; 129]> for [T; 129][src]

impl<T: Encode> EncodeLike<[T; 130]> for [T; 130][src]

impl<T: Encode> EncodeLike<[T; 131]> for [T; 131][src]

impl<T: Encode> EncodeLike<[T; 132]> for [T; 132][src]

impl<T: Encode> EncodeLike<[T; 133]> for [T; 133][src]

impl<T: Encode> EncodeLike<[T; 134]> for [T; 134][src]

impl<T: Encode> EncodeLike<[T; 135]> for [T; 135][src]

impl<T: Encode> EncodeLike<[T; 136]> for [T; 136][src]

impl<T: Encode> EncodeLike<[T; 137]> for [T; 137][src]

impl<T: Encode> EncodeLike<[T; 138]> for [T; 138][src]

impl<T: Encode> EncodeLike<[T; 139]> for [T; 139][src]

impl<T: Encode> EncodeLike<[T; 140]> for [T; 140][src]

impl<T: Encode> EncodeLike<[T; 141]> for [T; 141][src]

impl<T: Encode> EncodeLike<[T; 142]> for [T; 142][src]

impl<T: Encode> EncodeLike<[T; 143]> for [T; 143][src]

impl<T: Encode> EncodeLike<[T; 144]> for [T; 144][src]

impl<T: Encode> EncodeLike<[T; 145]> for [T; 145][src]

impl<T: Encode> EncodeLike<[T; 146]> for [T; 146][src]

impl<T: Encode> EncodeLike<[T; 147]> for [T; 147][src]

impl<T: Encode> EncodeLike<[T; 148]> for [T; 148][src]

impl<T: Encode> EncodeLike<[T; 149]> for [T; 149][src]

impl<T: Encode> EncodeLike<[T; 150]> for [T; 150][src]

impl<T: Encode> EncodeLike<[T; 151]> for [T; 151][src]

impl<T: Encode> EncodeLike<[T; 152]> for [T; 152][src]

impl<T: Encode> EncodeLike<[T; 153]> for [T; 153][src]

impl<T: Encode> EncodeLike<[T; 154]> for [T; 154][src]

impl<T: Encode> EncodeLike<[T; 155]> for [T; 155][src]

impl<T: Encode> EncodeLike<[T; 156]> for [T; 156][src]

impl<T: Encode> EncodeLike<[T; 157]> for [T; 157][src]

impl<T: Encode> EncodeLike<[T; 158]> for [T; 158][src]

impl<T: Encode> EncodeLike<[T; 159]> for [T; 159][src]

impl<T: Encode> EncodeLike<[T; 160]> for [T; 160][src]

impl<T: Encode> EncodeLike<[T; 161]> for [T; 161][src]

impl<T: Encode> EncodeLike<[T; 162]> for [T; 162][src]

impl<T: Encode> EncodeLike<[T; 163]> for [T; 163][src]

impl<T: Encode> EncodeLike<[T; 164]> for [T; 164][src]

impl<T: Encode> EncodeLike<[T; 165]> for [T; 165][src]

impl<T: Encode> EncodeLike<[T; 166]> for [T; 166][src]

impl<T: Encode> EncodeLike<[T; 167]> for [T; 167][src]

impl<T: Encode> EncodeLike<[T; 168]> for [T; 168][src]

impl<T: Encode> EncodeLike<[T; 169]> for [T; 169][src]

impl<T: Encode> EncodeLike<[T; 170]> for [T; 170][src]

impl<T: Encode> EncodeLike<[T; 171]> for [T; 171][src]

impl<T: Encode> EncodeLike<[T; 172]> for [T; 172][src]

impl<T: Encode> EncodeLike<[T; 173]> for [T; 173][src]

impl<T: Encode> EncodeLike<[T; 174]> for [T; 174][src]

impl<T: Encode> EncodeLike<[T; 175]> for [T; 175][src]

impl<T: Encode> EncodeLike<[T; 176]> for [T; 176][src]

impl<T: Encode> EncodeLike<[T; 177]> for [T; 177][src]

impl<T: Encode> EncodeLike<[T; 178]> for [T; 178][src]

impl<T: Encode> EncodeLike<[T; 179]> for [T; 179][src]

impl<T: Encode> EncodeLike<[T; 180]> for [T; 180][src]

impl<T: Encode> EncodeLike<[T; 181]> for [T; 181][src]

impl<T: Encode> EncodeLike<[T; 182]> for [T; 182][src]

impl<T: Encode> EncodeLike<[T; 183]> for [T; 183][src]

impl<T: Encode> EncodeLike<[T; 184]> for [T; 184][src]

impl<T: Encode> EncodeLike<[T; 185]> for [T; 185][src]

impl<T: Encode> EncodeLike<[T; 186]> for [T; 186][src]

impl<T: Encode> EncodeLike<[T; 187]> for [T; 187][src]

impl<T: Encode> EncodeLike<[T; 188]> for [T; 188][src]

impl<T: Encode> EncodeLike<[T; 189]> for [T; 189][src]

impl<T: Encode> EncodeLike<[T; 190]> for [T; 190][src]

impl<T: Encode> EncodeLike<[T; 191]> for [T; 191][src]

impl<T: Encode> EncodeLike<[T; 192]> for [T; 192][src]

impl<T: Encode> EncodeLike<[T; 193]> for [T; 193][src]

impl<T: Encode> EncodeLike<[T; 194]> for [T; 194][src]

impl<T: Encode> EncodeLike<[T; 195]> for [T; 195][src]

impl<T: Encode> EncodeLike<[T; 196]> for [T; 196][src]

impl<T: Encode> EncodeLike<[T; 197]> for [T; 197][src]

impl<T: Encode> EncodeLike<[T; 198]> for [T; 198][src]

impl<T: Encode> EncodeLike<[T; 199]> for [T; 199][src]

impl<T: Encode> EncodeLike<[T; 200]> for [T; 200][src]

impl<T: Encode> EncodeLike<[T; 201]> for [T; 201][src]

impl<T: Encode> EncodeLike<[T; 202]> for [T; 202][src]

impl<T: Encode> EncodeLike<[T; 203]> for [T; 203][src]

impl<T: Encode> EncodeLike<[T; 204]> for [T; 204][src]

impl<T: Encode> EncodeLike<[T; 205]> for [T; 205][src]

impl<T: Encode> EncodeLike<[T; 206]> for [T; 206][src]

impl<T: Encode> EncodeLike<[T; 207]> for [T; 207][src]

impl<T: Encode> EncodeLike<[T; 208]> for [T; 208][src]

impl<T: Encode> EncodeLike<[T; 209]> for [T; 209][src]

impl<T: Encode> EncodeLike<[T; 210]> for [T; 210][src]

impl<T: Encode> EncodeLike<[T; 211]> for [T; 211][src]

impl<T: Encode> EncodeLike<[T; 212]> for [T; 212][src]

impl<T: Encode> EncodeLike<[T; 213]> for [T; 213][src]

impl<T: Encode> EncodeLike<[T; 214]> for [T; 214][src]

impl<T: Encode> EncodeLike<[T; 215]> for [T; 215][src]

impl<T: Encode> EncodeLike<[T; 216]> for [T; 216][src]

impl<T: Encode> EncodeLike<[T; 217]> for [T; 217][src]

impl<T: Encode> EncodeLike<[T; 218]> for [T; 218][src]

impl<T: Encode> EncodeLike<[T; 219]> for [T; 219][src]

impl<T: Encode> EncodeLike<[T; 220]> for [T; 220][src]

impl<T: Encode> EncodeLike<[T; 221]> for [T; 221][src]

impl<T: Encode> EncodeLike<[T; 222]> for [T; 222][src]

impl<T: Encode> EncodeLike<[T; 223]> for [T; 223][src]

impl<T: Encode> EncodeLike<[T; 224]> for [T; 224][src]

impl<T: Encode> EncodeLike<[T; 225]> for [T; 225][src]

impl<T: Encode> EncodeLike<[T; 226]> for [T; 226][src]

impl<T: Encode> EncodeLike<[T; 227]> for [T; 227][src]

impl<T: Encode> EncodeLike<[T; 228]> for [T; 228][src]

impl<T: Encode> EncodeLike<[T; 229]> for [T; 229][src]

impl<T: Encode> EncodeLike<[T; 230]> for [T; 230][src]

impl<T: Encode> EncodeLike<[T; 231]> for [T; 231][src]

impl<T: Encode> EncodeLike<[T; 232]> for [T; 232][src]

impl<T: Encode> EncodeLike<[T; 233]> for [T; 233][src]

impl<T: Encode> EncodeLike<[T; 234]> for [T; 234][src]

impl<T: Encode> EncodeLike<[T; 235]> for [T; 235][src]

impl<T: Encode> EncodeLike<[T; 236]> for [T; 236][src]

impl<T: Encode> EncodeLike<[T; 237]> for [T; 237][src]

impl<T: Encode> EncodeLike<[T; 238]> for [T; 238][src]

impl<T: Encode> EncodeLike<[T; 239]> for [T; 239][src]

impl<T: Encode> EncodeLike<[T; 240]> for [T; 240][src]

impl<T: Encode> EncodeLike<[T; 241]> for [T; 241][src]

impl<T: Encode> EncodeLike<[T; 242]> for [T; 242][src]

impl<T: Encode> EncodeLike<[T; 243]> for [T; 243][src]

impl<T: Encode> EncodeLike<[T; 244]> for [T; 244][src]

impl<T: Encode> EncodeLike<[T; 245]> for [T; 245][src]

impl<T: Encode> EncodeLike<[T; 246]> for [T; 246][src]

impl<T: Encode> EncodeLike<[T; 247]> for [T; 247][src]

impl<T: Encode> EncodeLike<[T; 248]> for [T; 248][src]

impl<T: Encode> EncodeLike<[T; 249]> for [T; 249][src]

impl<T: Encode> EncodeLike<[T; 250]> for [T; 250][src]

impl<T: Encode> EncodeLike<[T; 251]> for [T; 251][src]

impl<T: Encode> EncodeLike<[T; 252]> for [T; 252][src]

impl<T: Encode> EncodeLike<[T; 253]> for [T; 253][src]

impl<T: Encode> EncodeLike<[T; 254]> for [T; 254][src]

impl<T: Encode> EncodeLike<[T; 255]> for [T; 255][src]

impl<T: Encode> EncodeLike<[T; 256]> for [T; 256][src]

impl<T: Encode> EncodeLike<[T; 384]> for [T; 384][src]

impl<T: Encode> EncodeLike<[T; 512]> for [T; 512][src]

impl<T: Encode> EncodeLike<[T; 768]> for [T; 768][src]

impl<T: Encode> EncodeLike<[T; 1024]> for [T; 1024][src]

impl<T: Encode> EncodeLike<[T; 2048]> for [T; 2048][src]

impl<T: Encode> EncodeLike<[T; 4096]> for [T; 4096][src]

impl<T: Encode> EncodeLike<[T; 8192]> for [T; 8192][src]

impl<T: Encode> EncodeLike<[T; 16384]> for [T; 16384][src]

impl<T: Encode> EncodeLike<[T; 32768]> for [T; 32768][src]

impl<'_> EncodeLike<&'_ str> for &'_ str[src]

impl<T> EncodeLike<PhantomData<T>> for PhantomData<T>[src]

impl<'_, T: Encode> EncodeLike<&'_ [T]> for &'_ [T][src]

impl<'_, T: Encode> EncodeLike<Vec<T>> for &'_ [T][src]

impl<T: Encode> EncodeLike<Vec<T>> for Vec<T>[src]

impl<'_, T: Encode> EncodeLike<&'_ [T]> for Vec<T>[src]

impl<K: Encode, V: Encode> EncodeLike<BTreeMap<K, V>> for BTreeMap<K, V>[src]

impl<'_, K: Encode, V: Encode> EncodeLike<&'_ [(K, V)]> for BTreeMap<K, V>[src]

impl<'_, K: Encode, V: Encode> EncodeLike<BTreeMap<K, V>> for &'_ [(K, V)][src]

impl<T: Encode> EncodeLike<BTreeSet<T>> for BTreeSet<T>[src]

impl<'_, T: Encode> EncodeLike<&'_ [T]> for BTreeSet<T>[src]

impl<'_, T: Encode> EncodeLike<BTreeSet<T>> for &'_ [T][src]

impl<T: Encode> EncodeLike<LinkedList<T>> for LinkedList<T>[src]

impl<'_, T: Encode> EncodeLike<&'_ [T]> for LinkedList<T>[src]

impl<'_, T: Encode> EncodeLike<LinkedList<T>> for &'_ [T][src]

impl<T: Encode> EncodeLike<BinaryHeap<T>> for BinaryHeap<T>[src]

impl<'_, T: Encode> EncodeLike<&'_ [T]> for BinaryHeap<T>[src]

impl<'_, T: Encode> EncodeLike<BinaryHeap<T>> for &'_ [T][src]

impl<T: Encode + Ord> EncodeLike<VecDeque<T>> for VecDeque<T>[src]

impl<'_, T: Encode + Ord> EncodeLike<&'_ [T]> for VecDeque<T>[src]

impl<'_, T: Encode + Ord> EncodeLike<VecDeque<T>> for &'_ [T][src]

impl EncodeLike<()> for ()[src]

impl<A0: EncodeLike<A1>, A1: Encode, B0: EncodeLike<B1>, B1: Encode, C0: EncodeLike<C1>, C1: Encode, D0: EncodeLike<D1>, D1: Encode, E0: EncodeLike<E1>, E1: Encode, F0: EncodeLike<F1>, F1: Encode, G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(A1, B1, C1, D1, E1, F1, G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)[src]

impl<B0: EncodeLike<B1>, B1: Encode, C0: EncodeLike<C1>, C1: Encode, D0: EncodeLike<D1>, D1: Encode, E0: EncodeLike<E1>, E1: Encode, F0: EncodeLike<F1>, F1: Encode, G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(B1, C1, D1, E1, F1, G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)[src]

impl<C0: EncodeLike<C1>, C1: Encode, D0: EncodeLike<D1>, D1: Encode, E0: EncodeLike<E1>, E1: Encode, F0: EncodeLike<F1>, F1: Encode, G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(C1, D1, E1, F1, G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)[src]

impl<D0: EncodeLike<D1>, D1: Encode, E0: EncodeLike<E1>, E1: Encode, F0: EncodeLike<F1>, F1: Encode, G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(D1, E1, F1, G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)[src]

impl<E0: EncodeLike<E1>, E1: Encode, F0: EncodeLike<F1>, F1: Encode, G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(E1, F1, G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)[src]

impl<F0: EncodeLike<F1>, F1: Encode, G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(F1, G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)[src]

impl<G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)[src]

impl<H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)[src]

impl<I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)[src]

impl<J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (J0, K0, L0, M0, N0, O0, P0, Q0, R0)[src]

impl<K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(K1, L1, M1, N1, O1, P1, Q1, R1)> for (K0, L0, M0, N0, O0, P0, Q0, R0)[src]

impl<L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(L1, M1, N1, O1, P1, Q1, R1)> for (L0, M0, N0, O0, P0, Q0, R0)[src]

impl<M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(M1, N1, O1, P1, Q1, R1)> for (M0, N0, O0, P0, Q0, R0)[src]

impl<N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(N1, O1, P1, Q1, R1)> for (N0, O0, P0, Q0, R0)[src]

impl<O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(O1, P1, Q1, R1)> for (O0, P0, Q0, R0)[src]

impl<P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(P1, Q1, R1)> for (P0, Q0, R0)[src]

impl<Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode> EncodeLike<(Q1, R1)> for (Q0, R0)[src]

impl<R0: EncodeLike<R1>, R1: Encode> EncodeLike<(R1,)> for (R0,)[src]

impl EncodeLike<u16> for u16[src]

impl EncodeLike<u32> for u32[src]

impl EncodeLike<u64> for u64[src]

impl EncodeLike<u128> for u128[src]

impl EncodeLike<i16> for i16[src]

impl EncodeLike<i32> for i32[src]

impl EncodeLike<i64> for i64[src]

impl EncodeLike<i128> for i128[src]

impl EncodeLike<u8> for u8[src]

impl EncodeLike<i8> for i8[src]

impl EncodeLike<bool> for bool[src]

impl<'_, T: Encode> EncodeLike<T> for &'_ T[src]

Loading content...

Implementors

impl EncodeLike<OptionBool> for OptionBool[src]

impl<'_, T: Encode> EncodeLike<&'_ T> for T[src]

impl<T> EncodeLike<Compact<T>> for Compact<T> where
    CompactRef<'a, T>: Encode
[src]

Loading content...