[−][src]Struct nsi::arg::Pointers
Raw pointer array type without lifietime guaratees.
This can't guarantee that the data this points to
outlives the Context
you eventually send this
to. This is your responsibility.
If you need to send pointers a better alternative
is the References
type that allows the compiler
to check that the the referenced data outlives the
Context
.
Implementations
impl<'a> Pointers<'a>
[src]
pub unsafe fn new(data: &'a [*const c_void]) -> Self
[src]
This is marked unsafe because the responsibility to ensure the pointer can be safely dereferenced after the function has returned lies with the user.
References
is as a safe alternative.
Trait Implementations
impl<'a, 'b> From<Pointers<'a>> for ArgData<'a, 'b>
[src]
impl<'a, 'b> TryInto<Pointers<'a>> for ArgData<'a, 'b>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Pointers<'a>
impl<'a> !Send for Pointers<'a>
impl<'a> !Sync for Pointers<'a>
impl<'a> Unpin for Pointers<'a>
impl<'a> UnwindSafe for Pointers<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,