Skip to main content

IntoCode

Trait IntoCode 

Source
pub trait IntoCode {
    // Required method
    fn into_code(self) -> Result<OwnedCellSlice, Error>;
}
Expand description

Anything that can be used as a VM code source.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoCode for Cell

Source§

impl IntoCode for CellSliceParts

Source§

impl<T: IntoCode> IntoCode for Option<T>

Implementors§