Skip to content

std::Memory::as_pointer<T>

as_pointer<T>

Converts a reference to a pointer type

Template Parameters

  • T

Signature

fn as_pointer(ref: &T) -> *T requires <T>;