Struct nstd_core::pointer::NSTDPointer[][src]

#[repr(C)]
pub struct NSTDPointer { pub ptr: *mut c_void, pub size: usize, }
Expand description

Represents a reference to any type.

Fields

ptr: *mut c_void

Raw pointer to the referenced object.

size: usize

Size in bytes of the referenced object.

Implementations

Conversion methods.

Interprets an NSTDPointer as a byte slice.

Interprets an NSTDPointer as a mutable byte slice.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.