Struct walrus::UntypedCustomSectionId
source · pub struct UntypedCustomSectionId(/* private fields */);
Expand description
The id of some CustomSection
instance in a ModuleCustomSections
.
Trait Implementations§
source§impl Clone for UntypedCustomSectionId
impl Clone for UntypedCustomSectionId
source§fn clone(&self) -> UntypedCustomSectionId
fn clone(&self) -> UntypedCustomSectionId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl CustomSectionId for UntypedCustomSectionId
impl CustomSectionId for UntypedCustomSectionId
§type CustomSection = dyn CustomSection
type CustomSection = dyn CustomSection
The concrete custom section type that this id gets out of a
ModuleCustomSections
.source§impl Debug for UntypedCustomSectionId
impl Debug for UntypedCustomSectionId
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 Hash for UntypedCustomSectionId
impl Hash for UntypedCustomSectionId
source§impl PartialEq for UntypedCustomSectionId
impl PartialEq for UntypedCustomSectionId
source§fn eq(&self, other: &UntypedCustomSectionId) -> bool
fn eq(&self, other: &UntypedCustomSectionId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UntypedCustomSectionId
impl Eq for UntypedCustomSectionId
impl StructuralEq for UntypedCustomSectionId
impl StructuralPartialEq for UntypedCustomSectionId
Auto Trait Implementations§
impl RefUnwindSafe for UntypedCustomSectionId
impl Send for UntypedCustomSectionId
impl Sync for UntypedCustomSectionId
impl Unpin for UntypedCustomSectionId
impl UnwindSafe for UntypedCustomSectionId
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.