Function std::ptr::set_memory
pub unsafe fn set_memory<T>(dst: *mut T, c: u8, count: uint)
Invokes memset on the specified pointer, setting count * size_of::<T>()
bytes of memory starting at dst
to c
.
pub unsafe fn set_memory<T>(dst: *mut T, c: u8, count: uint)
Invokes memset on the specified pointer, setting count * size_of::<T>()
bytes of memory starting at dst
to c
.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).