pub struct Outside { /* private fields */ }Expand description
The module, as much of it as an alias oracle asks about.
Implementations§
Source§impl Outside
impl Outside
Sourcepub fn one_object(&self, name: Symbol) -> bool
pub fn one_object(&self, name: Symbol) -> bool
Whether this symbol is a name for an object no other name in the module also names.
A name the module does not have at all is treated the way an alias is, because something is wrong and the conservative answer is the one to be wrong in the direction of.
Sourcepub fn attrs(&self, name: Symbol) -> Option<Attrs>
pub fn attrs(&self, name: Symbol) -> Option<Attrs>
What a function of that name is declared to do to memory.
Nothing for a name that is not a function here, which covers an indirect call, a call of something declared in another module and a call through an alias.
Sourcepub fn parent(&self, node: Meta) -> Option<Meta>
pub fn parent(&self, node: Meta) -> Option<Meta>
The type node one level up from this one, or nothing at the root.
Sourcepub fn pointer_bytes(&self) -> Option<u64>
pub fn pointer_bytes(&self) -> Option<u64>
How many bytes an address takes on the target this module was built for.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Outside
impl RefUnwindSafe for Outside
impl Send for Outside
impl Sync for Outside
impl Unpin for Outside
impl UnsafeUnpin for Outside
impl UnwindSafe for Outside
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