pub struct MethodId<T: Id>(pub T, pub usize);
Tuple Fields§
§0: T
§1: usize
Trait Implementations§
Source§impl GetFromId<MethodId<StructureId>, Method<StructureId>> for Problem
impl GetFromId<MethodId<StructureId>, Method<StructureId>> for Problem
fn get(&self, id: MethodId<StructureId>) -> Option<&Method<StructureId>>
Source§impl GetFromId<MethodId<StructureId>, Method<StructureId>> for Structure
impl GetFromId<MethodId<StructureId>, Method<StructureId>> for Structure
fn get(&self, id: MethodId<StructureId>) -> Option<&Method<StructureId>>
impl<T: Copy + Id> Copy for MethodId<T>
impl<T: Eq + Id> Eq for MethodId<T>
impl<T: Id> StructuralPartialEq for MethodId<T>
Auto Trait Implementations§
impl<T> Freeze for MethodId<T>where
T: Freeze,
impl<T> RefUnwindSafe for MethodId<T>where
T: RefUnwindSafe,
impl<T> Send for MethodId<T>where
T: Send,
impl<T> Sync for MethodId<T>where
T: Sync,
impl<T> Unpin for MethodId<T>where
T: Unpin,
impl<T> UnwindSafe for MethodId<T>where
T: UnwindSafe,
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