Struct walrus::TypedCustomSectionId
source · 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,
§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> 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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.