pub struct Key<'tl> {
pub id: HashRef<'tl>,
pub name: &'tl [u8],
pub idx: u32,
}Fields§
§id: HashRef<'tl>§name: &'tl [u8]§idx: u32Implementations§
Trait Implementations§
Source§impl BoxedConstructor for Key<'_>
impl BoxedConstructor for Key<'_>
Source§fn as_boxed(&self) -> BoxedWrapper<&Self>
fn as_boxed(&self) -> BoxedWrapper<&Self>
Wraps bare type reference into
BoxedWrapper.Source§fn into_boxed(self) -> BoxedWrapper<Self>
fn into_boxed(self) -> BoxedWrapper<Self>
Converts bare type into
BoxedWrapper.impl<'tl> Copy for Key<'tl>
impl<'tl> Eq for Key<'tl>
impl<'tl> StructuralPartialEq for Key<'tl>
Auto Trait Implementations§
impl<'tl> Freeze for Key<'tl>
impl<'tl> RefUnwindSafe for Key<'tl>
impl<'tl> Send for Key<'tl>
impl<'tl> Sync for Key<'tl>
impl<'tl> Unpin for Key<'tl>
impl<'tl> UnwindSafe for Key<'tl>
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