[][src]Trait cpp_core::ops::Indirection

pub trait Indirection {
    type Output;
    unsafe fn indirection(&self) -> Self::Output;

Represents C++'s indirection operator (*a).

Associated Types

type Output

Output type.

Loading content...

Required methods

unsafe fn indirection(&self) -> Self::Output

Returns the object self is pointing to.


The caller must make sure self contains a valid pointer. This function may invoke arbitrary foreign code, so no safety guarantees can be made.

Loading content...


Loading content...