Trait oxc_allocator::FromIn
source · pub trait FromIn<'a, T>: Sized {
// Required method
fn from_in(value: T, allocator: &'a Allocator) -> Self;
}
Expand description
This trait works similarly to the standard library From
trait, It comes with a similar
implementation containing blanket implementation for IntoIn
, reflective implementation and a
bunch of primitive conversions from Rust types to their arena equivalent.
Required Methods§
Object Safety§
This trait is not object safe.