Struct ra_ap_la_arena::Idx [−][src]
The index of a value allocated in an arena that holds T
s.
Implementations
impl<T> Idx<T>
[src]
pub fn from_raw(raw: RawIdx) -> Self
[src]
Creates a new index from a RawIdx
.
pub fn into_raw(self) -> RawIdx
[src]
Converts this index into the underlying RawIdx
.
Trait Implementations
impl<T> Clone for Idx<T>
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Copy for Idx<T>
[src]
impl<T> Debug for Idx<T>
[src]
impl<T> Eq for Idx<T>
[src]
impl<T> Hash for Idx<T>
[src]
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<T> Index<Idx<T>> for Arena<T>
[src]
impl<T, V> Index<Idx<V>> for ArenaMap<Idx<V>, T>
[src]
impl<T> IndexMut<Idx<T>> for Arena<T>
[src]
impl<T> PartialEq<Idx<T>> for Idx<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Idx<T>
impl<T> Send for Idx<T>
impl<T> Sync for Idx<T>
impl<T> Unpin for Idx<T>
impl<T> UnwindSafe for Idx<T>
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<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,