Trait FromGuts

Source
pub trait FromGuts: HasGuts {
    // Required method
    fn from_guts(guts: Self::Guts) -> Self;
}
Expand description

Safely constructing values from their guts.

Required Methods§

Source

fn from_guts(guts: Self::Guts) -> Self

Constructs a value from its guts.

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.

Implementors§