pub struct Exported {
pub value: Option<Res>,
pub ty: Option<DefId>,
pub trait_def: Option<DefId>,
}Expand description
What a module exports under one name, in each namespace (spec 3.4b §4.2).
Fields§
§value: Option<Res>§ty: Option<DefId>§trait_def: Option<DefId>Trait Implementations§
impl Copy for Exported
impl Eq for Exported
impl StructuralPartialEq for Exported
Auto Trait Implementations§
impl Freeze for Exported
impl RefUnwindSafe for Exported
impl Send for Exported
impl Sync for Exported
impl Unpin for Exported
impl UnsafeUnpin for Exported
impl UnwindSafe for Exported
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.