pub struct ImportTable { /* private fields */ }Implementations§
Source§impl ImportTable
impl ImportTable
pub fn insert(&mut self, scope: ScopeId, target: ImportTarget)
pub fn scoped(&self, scope: ScopeId) -> &[ImportTarget]
Trait Implementations§
Source§impl Clone for ImportTable
impl Clone for ImportTable
Source§fn clone(&self) -> ImportTable
fn clone(&self) -> ImportTable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImportTable
impl Debug for ImportTable
Source§impl Default for ImportTable
impl Default for ImportTable
Source§fn default() -> ImportTable
fn default() -> ImportTable
Returns the “default value” for a type. Read more
impl Eq for ImportTable
Source§impl PartialEq for ImportTable
impl PartialEq for ImportTable
impl StructuralPartialEq for ImportTable
Auto Trait Implementations§
impl Freeze for ImportTable
impl RefUnwindSafe for ImportTable
impl Send for ImportTable
impl Sync for ImportTable
impl Unpin for ImportTable
impl UnsafeUnpin for ImportTable
impl UnwindSafe for ImportTable
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.