safecoin_frozen_abi::abi_example

Trait AbiExample

Source
pub trait AbiExample: Sized {
    // Required method
    fn example() -> Self;
}

Required Methods§

Source

fn example() -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl AbiExample for &Vec<u8>

Source§

fn example() -> Self

Source§

impl AbiExample for &[u8]

Source§

fn example() -> Self

Source§

impl AbiExample for SocketAddr

Source§

fn example() -> Self

Source§

impl AbiExample for bool

Source§

fn example() -> Self

Source§

impl AbiExample for char

Source§

fn example() -> Self

Source§

impl AbiExample for f32

Source§

fn example() -> Self

Source§

impl AbiExample for f64

Source§

fn example() -> Self

Source§

impl AbiExample for i8

Source§

fn example() -> Self

Source§

impl AbiExample for i16

Source§

fn example() -> Self

Source§

impl AbiExample for i32

Source§

fn example() -> Self

Source§

impl AbiExample for i64

Source§

fn example() -> Self

Source§

impl AbiExample for i128

Source§

fn example() -> Self

Source§

impl AbiExample for isize

Source§

fn example() -> Self

Source§

impl AbiExample for u8

Source§

fn example() -> Self

Source§

impl AbiExample for u16

Source§

fn example() -> Self

Source§

impl AbiExample for u32

Source§

fn example() -> Self

Source§

impl AbiExample for u64

Source§

fn example() -> Self

Source§

impl AbiExample for u128

Source§

fn example() -> Self

Source§

impl AbiExample for ()

Source§

fn example() -> Self

Source§

impl AbiExample for usize

Source§

fn example() -> Self

Source§

impl AbiExample for String

Source§

fn example() -> Self

Source§

impl AbiExample for AtomicBool

Source§

fn example() -> Self

Source§

impl AbiExample for AtomicI8

Source§

fn example() -> Self

Source§

impl AbiExample for AtomicI16

Source§

fn example() -> Self

Source§

impl AbiExample for AtomicI32

Source§

fn example() -> Self

Source§

impl AbiExample for AtomicI64

Source§

fn example() -> Self

Source§

impl AbiExample for AtomicIsize

Source§

fn example() -> Self

Source§

impl AbiExample for AtomicU8

Source§

fn example() -> Self

Source§

impl AbiExample for AtomicU16

Source§

fn example() -> Self

Source§

impl AbiExample for AtomicU32

Source§

fn example() -> Self

Source§

impl AbiExample for AtomicU64

Source§

fn example() -> Self

Source§

impl AbiExample for AtomicUsize

Source§

fn example() -> Self

Source§

impl AbiExample for Duration

Source§

fn example() -> Self

Source§

impl AbiExample for PathBuf

Source§

fn example() -> Self

Source§

impl AbiExample for Once

Source§

fn example() -> Self

Source§

impl AbiExample for MmapMut

Source§

fn example() -> Self

Source§

impl<A: AbiExample> AbiExample for (A,)

Source§

fn example() -> Self

Source§

impl<A: AbiExample, B: AbiExample> AbiExample for (A, B)

Source§

fn example() -> Self

Source§

impl<A: AbiExample, B: AbiExample, C: AbiExample> AbiExample for (A, B, C)

Source§

fn example() -> Self

Source§

impl<A: AbiExample, B: AbiExample, C: AbiExample, D: AbiExample> AbiExample for (A, B, C, D)

Source§

fn example() -> Self

Source§

impl<A: AbiExample, B: AbiExample, C: AbiExample, D: AbiExample, E: AbiExample> AbiExample for (A, B, C, D, E)

Source§

fn example() -> Self

Source§

impl<A: AbiExample, B: AbiExample, C: AbiExample, D: AbiExample, E: AbiExample, F: AbiExample> AbiExample for (A, B, C, D, E, F)

Source§

fn example() -> Self

Source§

impl<A: AbiExample, B: AbiExample, C: AbiExample, D: AbiExample, E: AbiExample, F: AbiExample, G: AbiExample> AbiExample for (A, B, C, D, E, F, G)

Source§

fn example() -> Self

Source§

impl<A: AbiExample, B: AbiExample, C: AbiExample, D: AbiExample, E: AbiExample, F: AbiExample, G: AbiExample, H: AbiExample> AbiExample for (A, B, C, D, E, F, G, H)

Source§

fn example() -> Self

Source§

impl<A: AbiExample, B: AbiExample, C: AbiExample, D: AbiExample, E: AbiExample, F: AbiExample, G: AbiExample, H: AbiExample, I: AbiExample> AbiExample for (A, B, C, D, E, F, G, H, I)

Source§

fn example() -> Self

Source§

impl<A: AbiExample, B: AbiExample, C: AbiExample, D: AbiExample, E: AbiExample, F: AbiExample, G: AbiExample, H: AbiExample, I: AbiExample, J: AbiExample> AbiExample for (A, B, C, D, E, F, G, H, I, J)

Source§

fn example() -> Self

Source§

impl<A: AbiExample, B: AbiExample, C: AbiExample, D: AbiExample, E: AbiExample, F: AbiExample, G: AbiExample, H: AbiExample, I: AbiExample, J: AbiExample, K: AbiExample> AbiExample for (A, B, C, D, E, F, G, H, I, J, K)

Source§

fn example() -> Self

Source§

impl<A: AbiExample, B: AbiExample, C: AbiExample, D: AbiExample, E: AbiExample, F: AbiExample, G: AbiExample, H: AbiExample, I: AbiExample, J: AbiExample, K: AbiExample, L: AbiExample> AbiExample for (A, B, C, D, E, F, G, H, I, J, K, L)

Source§

fn example() -> Self

Source§

impl<O: AbiExample, E: AbiExample> AbiExample for Result<O, E>

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 0]

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 1]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 2]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 3]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 4]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 5]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 6]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 7]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 8]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 9]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 10]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 11]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 12]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 13]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 14]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 15]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 16]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 17]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 18]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 19]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 20]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 21]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 22]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 23]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 24]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 25]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 26]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 27]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 28]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 29]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 30]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 31]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for [T; 32]
where T: AbiExample,

Source§

fn example() -> Self

Source§

impl<T> AbiExample for Box<dyn Fn(&mut T) + Sync + Send>

Source§

fn example() -> Self

Source§

impl<T, U> AbiExample for Box<dyn Fn(&mut T, U) + Sync + Send>

Source§

fn example() -> Self

Source§

impl<T: Clone + Eq + Hash + AbiExample, S: Clone + AbiExample, H: BuildHasher + Default> AbiExample for HashMap<T, S, H>

Source§

fn example() -> Self

Source§

impl<T: Eq + Hash + AbiExample, H: BuildHasher + Default> AbiExample for HashSet<T, H>

Source§

fn example() -> Self

Source§

impl<T: Eq + Hash + AbiExample, S: AbiExample, H: BuildHasher + Default> AbiExample for HashMap<T, S, H>

Source§

fn example() -> Self

Source§

impl<T: Ord + AbiExample> AbiExample for BTreeSet<T>

Source§

fn example() -> Self

Source§

impl<T: Ord + AbiExample, S: AbiExample> AbiExample for BTreeMap<T, S>

Source§

fn example() -> Self

Source§

impl<T: Default, U: ArrayLength<T>> AbiExample for GenericArray<T, U>

Source§

fn example() -> Self

Source§

impl<T: BlockType> AbiExample for BitVec<T>

Source§

fn example() -> Self

Source§

impl<T: AbiExample> AbiExample for Option<T>

Source§

fn example() -> Self

Source§

impl<T: AbiExample> AbiExample for Box<[T]>

Source§

fn example() -> Self

Source§

impl<T: AbiExample> AbiExample for Box<T>

Source§

fn example() -> Self

Source§

impl<T: AbiExample> AbiExample for VecDeque<T>

Source§

fn example() -> Self

Source§

impl<T: AbiExample> AbiExample for Rc<T>

Source§

fn example() -> Self

Source§

impl<T: AbiExample> AbiExample for Arc<T>

Source§

fn example() -> Self

Source§

impl<T: AbiExample> AbiExample for Vec<T>

Source§

fn example() -> Self

Source§

impl<T: AbiExample> AbiExample for PhantomData<T>

Source§

fn example() -> Self

Source§

impl<T: AbiExample> AbiExample for Mutex<T>

Source§

fn example() -> Self

Source§

impl<T: AbiExample> AbiExample for RwLock<T>

Source§

fn example() -> Self

Source§

impl<T: AbiExample> AbiExample for OnceCell<T>

Source§

fn example() -> Self

Implementors§

Source§

impl<T: Sized> AbiExample for T