Struct jlrs::frame::NullFrame [−][src]
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]
fn frame<'nested, T, F: FnOnce(&mut StaticFrame<'nested, Sync>) -> JlrsResult<T>>(
&'nested mut self,
_: usize,
_: F
) -> JlrsResult<T>
[src]
&'nested mut self,
_: usize,
_: F
) -> JlrsResult<T>
fn dynamic_frame<'nested, T, F: FnOnce(&mut DynamicFrame<'nested, Sync>) -> JlrsResult<T>>(
&'nested mut self,
_: F
) -> JlrsResult<T>
[src]
&'nested mut self,
_: F
) -> JlrsResult<T>
fn output(&mut self) -> JlrsResult<Output<'frame>>
[src]
fn size(&self) -> usize
[src]
fn print_memory(&self)
[src]
fn global(&self) -> Global<'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]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<'frame, T> Gc for T where
T: Frame<'frame>,
[src]
T: Frame<'frame>,
unsafe fn enable_gc(&mut self, on: bool) -> bool
[src]
fn gc_is_enabled(&mut self) -> bool
[src]
unsafe fn gc_collect(&mut self, mode: GcCollection)
[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.
pub 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>,