Skip to main content

Module mem

Module mem 

Source

Re-exportsยง

use core::intrinsics; ๐Ÿ”’ Experimental
use core::mem; ๐Ÿ”’
use core::ptr; ๐Ÿ”’

Functionsยง

replace ๐Ÿ”’
This replaces the value behind the v unique reference by calling the relevant function, and returns a result obtained along the way.
take_mut ๐Ÿ”’
This replaces the value behind the v unique reference by calling the relevant function.