Struct move_compiler::shared::PackagePaths
source · [−]pub struct PackagePaths<Path: Into<Symbol> = Symbol, NamedAddress: Into<Symbol> = Symbol> {
pub name: Option<Symbol>,
pub paths: Vec<Path>,
pub named_address_map: BTreeMap<NamedAddress, NumericalAddress>,
}
Fields
name: Option<Symbol>
paths: Vec<Path>
named_address_map: BTreeMap<NamedAddress, NumericalAddress>
Trait Implementations
sourceimpl<Path: Clone + Into<Symbol>, NamedAddress: Clone + Into<Symbol>> Clone for PackagePaths<Path, NamedAddress>
impl<Path: Clone + Into<Symbol>, NamedAddress: Clone + Into<Symbol>> Clone for PackagePaths<Path, NamedAddress>
sourcefn clone(&self) -> PackagePaths<Path, NamedAddress>
fn clone(&self) -> PackagePaths<Path, NamedAddress>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<Path: Debug + Into<Symbol>, NamedAddress: Debug + Into<Symbol>> Debug for PackagePaths<Path, NamedAddress>
impl<Path: Debug + Into<Symbol>, NamedAddress: Debug + Into<Symbol>> Debug for PackagePaths<Path, NamedAddress>
sourceimpl<Path: PartialEq + Into<Symbol>, NamedAddress: PartialEq + Into<Symbol>> PartialEq<PackagePaths<Path, NamedAddress>> for PackagePaths<Path, NamedAddress>
impl<Path: PartialEq + Into<Symbol>, NamedAddress: PartialEq + Into<Symbol>> PartialEq<PackagePaths<Path, NamedAddress>> for PackagePaths<Path, NamedAddress>
sourcefn eq(&self, other: &PackagePaths<Path, NamedAddress>) -> bool
fn eq(&self, other: &PackagePaths<Path, NamedAddress>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PackagePaths<Path, NamedAddress>) -> bool
fn ne(&self, other: &PackagePaths<Path, NamedAddress>) -> bool
This method tests for !=
.
impl<Path: Eq + Into<Symbol>, NamedAddress: Eq + Into<Symbol>> Eq for PackagePaths<Path, NamedAddress>
impl<Path: Into<Symbol>, NamedAddress: Into<Symbol>> StructuralEq for PackagePaths<Path, NamedAddress>
impl<Path: Into<Symbol>, NamedAddress: Into<Symbol>> StructuralPartialEq for PackagePaths<Path, NamedAddress>
Auto Trait Implementations
impl<Path, NamedAddress> RefUnwindSafe for PackagePaths<Path, NamedAddress> where
NamedAddress: RefUnwindSafe,
Path: RefUnwindSafe,
impl<Path, NamedAddress> Send for PackagePaths<Path, NamedAddress> where
NamedAddress: Send,
Path: Send,
impl<Path, NamedAddress> Sync for PackagePaths<Path, NamedAddress> where
NamedAddress: Sync,
Path: Sync,
impl<Path, NamedAddress> Unpin for PackagePaths<Path, NamedAddress> where
Path: Unpin,
impl<Path, NamedAddress> UnwindSafe for PackagePaths<Path, NamedAddress> where
NamedAddress: RefUnwindSafe,
Path: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more