pub struct Link<M: AnyFrameMeta + Repr<MetaSlotSmall>> {
pub next: Option<ReprPtr<MetaSlot, MetadataAsLink<M>>>,
pub prev: Option<ReprPtr<MetaSlot, MetadataAsLink<M>>>,
pub meta: M,
}Expand description
A link in the linked list.
Fields§
§next: Option<ReprPtr<MetaSlot, MetadataAsLink<M>>>§prev: Option<ReprPtr<MetaSlot, MetadataAsLink<M>>>§meta: MImplementations§
Source§impl<M: AnyFrameMeta + Repr<MetaSlotSmall>> Link<M>
impl<M: AnyFrameMeta + Repr<MetaSlotSmall>> Link<M>
Trait Implementations§
Source§impl<M: AnyFrameMeta + Repr<MetaSlotSmall>> AnyFrameMeta for Link<M>
impl<M: AnyFrameMeta + Repr<MetaSlotSmall>> AnyFrameMeta for Link<M>
Source§impl<M: AnyFrameMeta + Repr<MetaSlotSmall>> ModelOf for Link<M>
impl<M: AnyFrameMeta + Repr<MetaSlotSmall>> ModelOf for Link<M>
Source§impl<M: AnyFrameMeta + Repr<MetaSlotSmall>> OwnerOf for Link<M>
impl<M: AnyFrameMeta + Repr<MetaSlotSmall>> OwnerOf for Link<M>
Source§impl<M: AnyFrameMeta + Repr<MetaSlotSmall>> Repr<MetaSlotStorage> for Link<M>
impl<M: AnyFrameMeta + Repr<MetaSlotSmall>> Repr<MetaSlotStorage> for Link<M>
Source§uninterp fn wf(r: MetaSlotStorage, perm: LinkInnerPerms) -> bool
uninterp fn wf(r: MetaSlotStorage, perm: LinkInnerPerms) -> bool
Source§uninterp fn to_repr_spec(self, perm: LinkInnerPerms) -> (MetaSlotStorage, LinkInnerPerms)
uninterp fn to_repr_spec(self, perm: LinkInnerPerms) -> (MetaSlotStorage, LinkInnerPerms)
Source§exec fn to_repr(
self,
verus_tmp_perm: Tracked<&mut LinkInnerPerms>,
) -> MetaSlotStorage
exec fn to_repr( self, verus_tmp_perm: Tracked<&mut LinkInnerPerms>, ) -> MetaSlotStorage
Source§uninterp fn from_repr_spec(r: MetaSlotStorage, perm: LinkInnerPerms) -> Self
uninterp fn from_repr_spec(r: MetaSlotStorage, perm: LinkInnerPerms) -> Self
Source§exec fn from_repr(
r: MetaSlotStorage,
verus_tmp_perm: Tracked<&LinkInnerPerms>,
) -> Self
exec fn from_repr( r: MetaSlotStorage, verus_tmp_perm: Tracked<&LinkInnerPerms>, ) -> Self
Source§exec fn from_borrowed<'a>(
r: &'a MetaSlotStorage,
verus_tmp_perm: Tracked<&'a LinkInnerPerms>,
) -> &'a Self
exec fn from_borrowed<'a>( r: &'a MetaSlotStorage, verus_tmp_perm: Tracked<&'a LinkInnerPerms>, ) -> &'a Self
Source§proof fn from_to_repr(self, perm: LinkInnerPerms)
proof fn from_to_repr(self, perm: LinkInnerPerms)
Source§proof fn to_from_repr(r: MetaSlotStorage, perm: LinkInnerPerms)
proof fn to_from_repr(r: MetaSlotStorage, perm: LinkInnerPerms)
Source§proof fn to_repr_wf(self, perm: LinkInnerPerms)
proof fn to_repr_wf(self, perm: LinkInnerPerms)
Source§type Perm = LinkInnerPerms
type Perm = LinkInnerPerms
If the underlying representation contains cells, the translation may require permission objects that access them.
Auto Trait Implementations§
impl<M> Freeze for Link<M>where
M: Freeze,
impl<M> !RefUnwindSafe for Link<M>
impl<M> Send for Link<M>where
M: Send,
impl<M> Sync for Link<M>where
M: Sync,
impl<M> Unpin for Link<M>where
M: Unpin,
impl<M> UnwindSafe for Link<M>where
M: 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