[−][src]Struct rustc_middle::mir::interpret::allocation::Relocations
Relocations.
Implementations
impl<Tag, Id> Relocations<Tag, Id>[src]
Trait Implementations
impl<Tag: Clone, Id: Clone> Clone for Relocations<Tag, Id>[src]
pub fn clone(&self) -> Relocations<Tag, Id>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<Tag: Debug, Id: Debug> Debug for Relocations<Tag, Id>[src]
impl<'tcx, Tag, Id, __D: TyDecoder<'tcx>> Decodable<__D> for Relocations<Tag, Id> where
Tag: Decodable<__D>,
Id: Decodable<__D>, [src]
Tag: Decodable<__D>,
Id: Decodable<__D>,
impl<Tag> Deref for Relocations<Tag>[src]
type Target = SortedMap<Size, (Tag, AllocId)>
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target[src]
impl<Tag> DerefMut for Relocations<Tag>[src]
impl<'tcx, Tag, Id, __E: TyEncoder<'tcx>> Encodable<__E> for Relocations<Tag, Id> where
Tag: Encodable<__E>,
Id: Encodable<__E>, [src]
Tag: Encodable<__E>,
Id: Encodable<__E>,
impl<Tag: Eq, Id: Eq> Eq for Relocations<Tag, Id>[src]
impl<Tag: Hash, Id: Hash> Hash for Relocations<Tag, Id>[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<'a, Tag> HashStable<StableHashingContext<'a>> for Relocations<Tag> where
Tag: HashStable<StableHashingContext<'a>>, [src]
Tag: HashStable<StableHashingContext<'a>>,
pub fn hash_stable(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher
)[src]
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher
)
impl<Tag: Ord, Id: Ord> Ord for Relocations<Tag, Id>[src]
pub fn cmp(&self, other: &Relocations<Tag, Id>) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self[src]
impl<Tag: PartialEq, Id: PartialEq> PartialEq<Relocations<Tag, Id>> for Relocations<Tag, Id>[src]
pub fn eq(&self, other: &Relocations<Tag, Id>) -> bool[src]
pub fn ne(&self, other: &Relocations<Tag, Id>) -> bool[src]
impl<Tag: PartialOrd, Id: PartialOrd> PartialOrd<Relocations<Tag, Id>> for Relocations<Tag, Id>[src]
pub fn partial_cmp(&self, other: &Relocations<Tag, Id>) -> Option<Ordering>[src]
pub fn lt(&self, other: &Relocations<Tag, Id>) -> bool[src]
pub fn le(&self, other: &Relocations<Tag, Id>) -> bool[src]
pub fn gt(&self, other: &Relocations<Tag, Id>) -> bool[src]
pub fn ge(&self, other: &Relocations<Tag, Id>) -> bool[src]
impl<Tag, Id> StructuralEq for Relocations<Tag, Id>[src]
impl<Tag, Id> StructuralPartialEq for Relocations<Tag, Id>[src]
Auto Trait Implementations
impl<Tag, Id> RefUnwindSafe for Relocations<Tag, Id> where
Id: RefUnwindSafe,
Tag: RefUnwindSafe,
Id: RefUnwindSafe,
Tag: RefUnwindSafe,
impl<Tag, Id> Send for Relocations<Tag, Id> where
Id: Send,
Tag: Send,
Id: Send,
Tag: Send,
impl<Tag, Id> Sync for Relocations<Tag, Id> where
Id: Sync,
Tag: Sync,
Id: Sync,
Tag: Sync,
impl<Tag, Id> Unpin for Relocations<Tag, Id> where
Id: Unpin,
Tag: Unpin,
Id: Unpin,
Tag: Unpin,
impl<Tag, Id> UnwindSafe for Relocations<Tag, Id> where
Id: UnwindSafe,
Tag: UnwindSafe,
Id: UnwindSafe,
Tag: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> MaybeResult<T> for T[src]
type Error = !
pub fn from(Result<T, <T as MaybeResult<T>>::Error>) -> T[src]
pub fn to_result(self) -> Result<T, <T as MaybeResult<T>>::Error>[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.