Struct jlrs::frame::NullFrame[][src]

pub struct NullFrame<'frame>(_);

A NullFrame can be used if you call Rust from Julia through ccall and want to borrow array data but not perform any allocations. It can’t be nested or be used for functions that allocate (like creating new values or calling functions). Functions that depend on allocation will return JlrsError::NullFrame if you call them with a NullFrame.

Trait Implementations

impl<'frame> Frame<'frame> for NullFrame<'frame>[src]

Auto Trait Implementations

impl<'frame> RefUnwindSafe for NullFrame<'frame>

impl<'frame> Send for NullFrame<'frame>

impl<'frame> Sync for NullFrame<'frame>

impl<'frame> Unpin for NullFrame<'frame>

impl<'frame> UnwindSafe for NullFrame<'frame>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<'frame, T> Gc for T where
    T: Frame<'frame>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.