Trait Shallow

Source
pub trait Shallow: Sized + ToSEXP {
    // Required method
    fn sc(&self) -> Self;

    // Provided method
    fn sclone_from(&mut self, source: &Self) { ... }
}

Required Methods§

Source

fn sc(&self) -> Self

Provided Methods§

Source

fn sclone_from(&mut self, source: &Self)

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§