[−][src]Struct jlrs::frame::StaticFrame
A StaticFrame
is a frame that has a definite number of slots on the GC stack. With some
exceptions, creating new Value
s and calling them require one slot each. Rather than using
new slots on the GC stack when a slot is needed, a StaticFrame
uses the slots it acquired on
creation. See the documentation in the value
module for more information about the costs.
You get access to a StaticFrame
by calling Julia::frame
or Frame::frame
, most of
their functionality is defined in the Frame
trait.
Implementations
impl<'frame> StaticFrame<'frame>
[src]
Trait Implementations
impl<'frame> Drop for StaticFrame<'frame>
[src]
impl<'frame> Frame<'frame> for StaticFrame<'frame>
[src]
fn frame<'nested, T, F: FnOnce(&mut StaticFrame<'nested>) -> JlrsResult<T>>(
&'nested mut self,
capacity: usize,
func: F
) -> JlrsResult<T>
[src]
&'nested mut self,
capacity: usize,
func: F
) -> JlrsResult<T>
fn dynamic_frame<'nested, T, F: FnOnce(&mut DynamicFrame<'nested>) -> JlrsResult<T>>(
&'nested mut self,
func: F
) -> JlrsResult<T>
[src]
&'nested mut self,
func: F
) -> JlrsResult<T>
fn output(&mut self) -> JlrsResult<Output<'frame>>
[src]
fn size(&self) -> usize
[src]
fn print_memory(&self)
[src]
Auto Trait Implementations
impl<'frame> RefUnwindSafe for StaticFrame<'frame>
impl<'frame> !Send for StaticFrame<'frame>
impl<'frame> !Sync for StaticFrame<'frame>
impl<'frame> Unpin for StaticFrame<'frame>
impl<'frame> !UnwindSafe for StaticFrame<'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,
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>,