OptionalPtr

Type Alias OptionalPtr 

Source
pub type OptionalPtr<T> = OptZero<RequiredPtr<T>>;
Expand description

A nullable imuttable pointer to T

guaranteed to be accepted by the syscall if it is null, however the syscall will return ErrorStatus::InvalidPtr if it is not aligned to align_of::<T>()

this is typically for the syscall to return optional values

Aliased Typeยง

pub struct OptionalPtr<T>(/* private fields */);