Trait C3Object

Source
pub trait C3Object {
    // Required method
    fn as_class(&self) -> C3Class;
}
Expand description

A trait for objects that can be used in the C3 algorithm.

Required Methods§

Source

fn as_class(&self) -> C3Class

Convert the object to a class.

Implementations on Foreign Types§

Source§

impl C3Object for String

Source§

impl<'i> C3Object for &'i str

Implementors§