Trait ruast::AddVisibility

source ·
pub trait AddVisibility<K> {
    // Required methods
    fn inherited(item: impl Into<K>) -> Self;
    fn public(item: impl Into<K>) -> Self;
}

Required Methods§

source

fn inherited(item: impl Into<K>) -> Self

source

fn public(item: impl Into<K>) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<K> AddVisibility<K> for Item<K>