Skip to main content

BoxInto

Trait BoxInto 

Source
pub trait BoxInto {
    // Required method
    fn box_into(self) -> RtObject;
}
Expand description

Type-safe boxing of Rust primitives into RtObject.

Required Methods§

Source

fn box_into(self) -> RtObject

Box this value into an RtObject.

Implementations on Foreign Types§

Source§

impl BoxInto for &str

Source§

impl BoxInto for bool

Source§

impl BoxInto for char

Source§

impl BoxInto for f64

Source§

impl BoxInto for i64

Source§

impl BoxInto for u64

Source§

impl BoxInto for ()

Source§

impl BoxInto for String

Implementors§