pub trait TupleWritingFrame<'a>: WritingFrame<'a> + WritingFrameExt<'a, Tuple> {
// Provided method
fn push_atom<'b, A: AtomBody + ?Sized>(
&'b mut self,
parameter: &A::InitializationParameter,
urids: &mut CachedMap,
) -> Result<NestedFrame<'b, 'a, A>, ()> { ... }
}Expand description
Extension for WritingFrame and
WritingFrameExt for vectors.
See the module documentation for more information.
Provided Methods§
Sourcefn push_atom<'b, A: AtomBody + ?Sized>(
&'b mut self,
parameter: &A::InitializationParameter,
urids: &mut CachedMap,
) -> Result<NestedFrame<'b, 'a, A>, ()>
fn push_atom<'b, A: AtomBody + ?Sized>( &'b mut self, parameter: &A::InitializationParameter, urids: &mut CachedMap, ) -> Result<NestedFrame<'b, 'a, A>, ()>
Add a new atom to the tuple.
This method acts just like an output port’s
write_atom_body: It receives the
initialization parameter of a atom, creates a new writing frame, initializes the atom and
returns the frame.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.