Available on crate feature
core only.Expand description
A sized pointer to some arbitrary type.
Structs§
- NSTDPtr
- A sized immutable pointer to some arbitrary type.
- NSTD
PtrMut - A sized pointer to some arbitrary type.
Functions§
- nstd_
core_ ptr_ align - Returns the alignment of the object being pointed to.
- nstd_
core_ ptr_ get - Returns a raw immutable pointer to the object pointed to by
ptr. - nstd_
core_ ptr_ mut_ align - Returns the alignment of the object being pointed to.
- nstd_
core_ ptr_ mut_ as_ const - Creates an immutable version of a mutable pointer.
- nstd_
core_ ptr_ mut_ get - Returns a raw pointer to the object pointed to by
ptr. - nstd_
core_ ptr_ mut_ get_ const - Returns a raw immutable pointer to the object pointed to by
ptr. - nstd_
core_ ptr_ mut_ new - Creates a new instance of
NSTDPtrMut. - nstd_
core_ ⚠ptr_ mut_ new_ unchecked - Creates a new instance of
NSTDPtrMutwithout checking ifobjis null. - nstd_
core_ ptr_ mut_ size - Returns the size of the object being pointed to.
- nstd_
core_ ⚠ptr_ mut_ write - Writes data from
objtoptr. The number of bytes written is determined byptr.size. - nstd_
core_ ptr_ new - Creates a new instance of
NSTDPtr. - nstd_
core_ ⚠ptr_ new_ unchecked - Creates a new instance of
NSTDPtrwithout checking ifobjis null. - nstd_
core_ ptr_ size - Returns the size of the object being pointed to.
Type Aliases§
- NSTD
Optional Ptr - Represents an optional value of type
NSTDPtr. - NSTD
Optional PtrMut - Represents an optional value of type
NSTDPtrMut.