[go: up one dir, main page]

linkme 0.2.0

Safe cross-platform linker shenanigans
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub trait Slice {
    type Element;
}

impl<T> Slice for [T] {
    type Element = T;
}

pub enum Void {}

pub fn value<T>() -> T {
    panic!()
}