pub struct TypedCustomSectionId<T>where
T: CustomSection,{ /* private fields */ }Expand description
The id of a CustomSection instance with a statically-known type in a
ModuleCustomSections.
Trait Implementations§
Source§impl<T> Clone for TypedCustomSectionId<T>where
T: CustomSection,
impl<T> Clone for TypedCustomSectionId<T>where
T: CustomSection,
Source§impl<T> CustomSectionId for TypedCustomSectionId<T>where
T: CustomSection,
impl<T> CustomSectionId for TypedCustomSectionId<T>where
T: CustomSection,
Source§type CustomSection = T
type CustomSection = T
The concrete custom section type that this id gets out of a
ModuleCustomSections.Source§impl<T> Debug for TypedCustomSectionId<T>where
T: CustomSection,
impl<T> Debug for TypedCustomSectionId<T>where
T: CustomSection,
Source§impl<T> From<TypedCustomSectionId<T>> for UntypedCustomSectionIdwhere
T: CustomSection,
impl<T> From<TypedCustomSectionId<T>> for UntypedCustomSectionIdwhere
T: CustomSection,
Source§fn from(a: TypedCustomSectionId<T>) -> Self
fn from(a: TypedCustomSectionId<T>) -> Self
Converts to this type from the input type.
Source§impl<T> Hash for TypedCustomSectionId<T>where
T: CustomSection,
impl<T> Hash for TypedCustomSectionId<T>where
T: CustomSection,
Source§impl<T> PartialEq for TypedCustomSectionId<T>where
T: CustomSection,
impl<T> PartialEq for TypedCustomSectionId<T>where
T: CustomSection,
impl<T> Copy for TypedCustomSectionId<T>where
T: CustomSection,
impl<T> Eq for TypedCustomSectionId<T>where
T: CustomSection,
Auto Trait Implementations§
impl<T> Freeze for TypedCustomSectionId<T>
impl<T> RefUnwindSafe for TypedCustomSectionId<T>where
T: RefUnwindSafe,
impl<T> Send for TypedCustomSectionId<T>
impl<T> Sync for TypedCustomSectionId<T>
impl<T> Unpin for TypedCustomSectionId<T>where
T: Unpin,
impl<T> UnwindSafe for TypedCustomSectionId<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
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<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.