pub trait Constant: Sized {
    type Name: AsRef<str>;

    fn borrow_constant(&self) -> BorrowedConstant<'_, Self>;
}

Required Associated Types§

Required Methods§

Transforms the given Constant to a BorrowedConstant

Implementors§