Trait Pointer

Source
pub unsafe trait Pointer {
    // Required method
    fn pointer(&self) -> *const c_void;
}
Expand description

Provides a pointer to the starting address in memory.

Required Methods§

Source

fn pointer(&self) -> *const c_void

A pointer to the starting address in memory

Implementations on Foreign Types§

Source§

impl<T> Pointer for [T]
where T: Equivalence,

Source§

impl<T> Pointer for Vec<T>
where T: Equivalence,

Source§

impl<T, const D: usize> Pointer for [T; D]
where T: Equivalence,

Implementors§

Source§

impl<'a> Pointer for DynBuffer<'a>

Source§

impl<'a> Pointer for DynBufferMut<'a>

Source§

impl<'b, B, C, D> Pointer for Partition<'b, B, C, D>
where B: 'b + Pointer + ?Sized,

Source§

impl<'d, 'b, D, B> Pointer for View<'d, 'b, D, B>
where D: 'd + Datatype, B: 'b + Pointer + ?Sized,

Source§

impl<T> Pointer for T
where T: Equivalence,