pub struct NodeIndex(pub u32);Expand description
Index into an arena. Used instead of pointers/references for serialization-friendly graphs.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeIndex
impl<'de> Deserialize<'de> for NodeIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromWasmAbi for NodeIndex
impl FromWasmAbi for NodeIndex
Source§impl IntoWasmAbi for NodeIndex
impl IntoWasmAbi for NodeIndex
Source§impl LongRefFromWasmAbi for NodeIndex
impl LongRefFromWasmAbi for NodeIndex
Source§impl OptionFromWasmAbi for NodeIndex
impl OptionFromWasmAbi for NodeIndex
Source§impl OptionIntoWasmAbi for NodeIndex
impl OptionIntoWasmAbi for NodeIndex
Source§impl RefFromWasmAbi for NodeIndex
impl RefFromWasmAbi for NodeIndex
Source§impl RefMutFromWasmAbi for NodeIndex
impl RefMutFromWasmAbi for NodeIndex
Source§impl TryFromJsValue for NodeIndex
impl TryFromJsValue for NodeIndex
Source§impl VectorFromWasmAbi for NodeIndex
impl VectorFromWasmAbi for NodeIndex
Source§impl VectorIntoWasmAbi for NodeIndex
impl VectorIntoWasmAbi for NodeIndex
impl Copy for NodeIndex
impl Eq for NodeIndex
impl StructuralPartialEq for NodeIndex
impl SupportsConstructor for NodeIndex
impl SupportsInstanceProperty for NodeIndex
impl SupportsStaticProperty for NodeIndex
Auto Trait Implementations§
impl Freeze for NodeIndex
impl RefUnwindSafe for NodeIndex
impl Send for NodeIndex
impl Sync for NodeIndex
impl Unpin for NodeIndex
impl UnsafeUnpin for NodeIndex
impl UnwindSafe for NodeIndex
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.