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