Skip to content

std::Memory::find<T>

find<T>

Finds the first occurrence of a value in a block of memory

Template Parameters

  • T

Signature

fn find(ptr: *const void, value: i32, size: usize) -> *T? requires <T>;