Enum rustc_typeck::middle::privacy::LastPrivate [−] [src]

pub enum LastPrivate {
    LastMod(PrivateDep),
    pub LastImport {
        pub value_priv: Option<PrivateDep>,
        pub value_used: ImportUse,
        pub type_priv: Option<PrivateDep>,
        pub type_used: ImportUse,
    },
}
Unstable

Variants

LastMod
Unstable
LastImport
Unstable

Fields

value_priv
Unstable
value_used
Unstable
type_priv
Unstable
type_used
Unstable

Methods

impl LastPrivate

fn or(self, other: LastPrivate) -> LastPrivate

Unstable

Trait Implementations

Derived Implementations

impl Debug for LastPrivate

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>

impl Clone for LastPrivate

fn clone(&self) -> LastPrivate

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

impl Copy for LastPrivate