menu

destack:memory

import destack:memory

Namespaces

  1. arcarc namespace.
  2. arenaarena namespace.
  3. bindingbinding namespace.
  4. cellcell namespace.
  5. cowcow namespace.
  6. rawraw namespace.
  7. rcrc namespace.

Structs

  1. AllocationCapacityOverflowAllocation failed because the requested capacity cannot be represented.
  2. AllocationOutOfMemoryAllocation failed because the runtime could not reserve enough memory.
  3. AllocationUnsupportedAllocation failed because the runtime does not support the requested operation.
  4. CellInterior mutable storage for copyable values.
  5. CowBorrowedBorrowed copy-on-write value.
  6. CowOwnedOwned copy-on-write value.

Newtypes

  1. AccessOfExtract the access mode of T.
  2. AccessOrExtract the access mode of T, or fall back to D.
  3. AllocationErrorAllocation failure returned by typed fallible allocation APIs.
  4. BaseOfExtract the unqualified base type of T.
  5. BorrowedBorrowed access form for exactly T.
  6. BoxA uniquely owned heap allocation for an owned T.
  7. CowCopy-on-write value.
  8. DynamicErased runtime value for interface constraint T.
  9. IsBorrowedReturn whether T is borrowed.
  10. IsManagedReturn whether T is managed.
  11. IsOwnedReturn whether T is owned.
  12. IsRawReturn whether T is raw.
  13. IsSharedReturn whether T is explicitly placed in shared space.
  14. IsSharedInReturn whether T resolves to shared space in concrete space S.
  15. LifetimeLifetime marker for borrowed validity.
  16. LifetimeOfExtract the borrow lifetime of T.
  17. LifetimeOrExtract the borrow lifetime of T, or fall back to D.
  18. ManagedDefault managed form for exactly T.
  19. ManuallyDropOwned storage whose Drop does not run automatically.
  20. MaybeUninitStorage for T whose lifetime may not have started.
  21. OwnedUnique ownership form for exactly T.
  22. OwnershipOfExtract the outer ownership form of T.
  23. OwnershipOrExtract the ownership of T, or fall back to D.
  24. PayloadOfExtract the payload under the outermost memory form.
  25. PhantomZero-sized marker for ownership, variance, and drop behavior.
  26. PinAddress-stable storage wrapper.
  27. PlacedPlacement form for exactly T.
  28. PlaceInResolve relative placement in concrete space S.
  29. PlaceOfExtract the placement of T.
  30. PlaceOrExtract the placement of T, or fall back to D.
  31. RawUnsafe raw pointer form for exactly T.
  32. SpaceOfExtract the explicit concrete space of T.
  33. SpaceOrExtract the explicit concrete space of T, or fall back to D.
  34. UniqueUnique traced heap handle containing exactly T.
  35. UnsafeCellUnsafe interior mutable storage.
  36. WithAccessReborrow Q with access mode A.
  37. WithBaseReplace the unqualified base type of Q with T.
  38. WithLifetimeReborrow Q with lifetime L.
  39. WithOwnershipAdd ownership form O around Q.
  40. WithPlaceReplace placement of Q with place P.
  41. WithSpaceResolve relative placement of Q in concrete space S.

Newtype interfaces

  1. AsyncDisposeDeterministic asynchronous cleanup capability, called at the end of an await using scope.
  2. CloneMark a type as explicitly cloneable.
  3. ConcreteMark a type as having a complete storage representation.
  4. CopyMark a type as implicitly duplicable without ownership transfer.
  5. DefaultMark a type as having a conventional default value.
  6. DisposeDeterministic synchronous cleanup capability, called at the end of a using scope.
  7. DropOwnership finalization capability.
  8. DynamicSafeMark a type as safe for runtime erasure.
  9. OverwriteStableMark a type as safe to overwrite through non-exclusive mutable access.
  10. SharedSafeMark a type as safe to store in shared space.
  11. UnpinMark a type as safe to move out of pinned storage.
  12. ZeroableMark a type as valid when all bytes are zero.

Interfaces

  1. MemoryBindingMemory binding family.

Type aliases

  1. AccessAccess mode for qualified storage.
  2. BorrowedFieldsRebase each field of T into borrowed form.
  3. ExclusiveBorrowedExclusive borrowed access to T within lifetime L.
  4. ExclusiveBorrowedFieldsRebase each field of T into exclusive borrowed form.
  5. LocalPlace T in local space.
  6. LocalFieldsRebase each field of T into local space.
  7. ManagedFieldsRebase each field of T into managed form.
  8. MaybeOwnedReadonly borrowed or owned value.
  9. OwnedFieldsRebase each field of T into owned form.
  10. OwnershipOwnership kind for qualified storage.
  11. PlacePlacement tag kind for qualified storage.
  12. RawFieldsRebase each field of T into raw pointer form.
  13. ReadonlyBorrowedReadonly borrowed access to T within lifetime L.
  14. ReadonlyBorrowedFieldsRebase each field of T into readonly borrowed form.
  15. RelativeRestore relative placement of T.
  16. RelativeFieldsRebase each field of T into relative placement.
  17. SharedPlace T in shared space.
  18. SharedFieldsRebase each field of T into shared space.
  19. SpaceConcrete memory space tag kind.
  20. StaticLifetimeBuiltin lifetime root for static storage.

Functions

  1. assumeInitMove one initialized storage out as T.
  2. assumeInitDropDrop one initialized storage in place.
  3. assumeInitExclusiveReferenceBorrow one initialized storage with exclusive access.
  4. assumeInitReadCopy one initialized storage out without ending it.
  5. assumeInitReadonlyReferenceBorrow one initialized storage with readonly access.
  6. assumeInitReferenceBorrow one initialized storage.
  7. dropEnd ownership of value at this point.
  8. forgetEnd ownership of value without running its destructor.
  9. initAsExclusivePointerReturn an exclusive raw pointer to one storage.
  10. initAsPointerReturn a raw pointer to one storage.
  11. initNewCreate initialized storage for value.
  12. initUninitCreate uninitialized storage for T.
  13. initWriteInitialize one storage with value.
  14. initZeroedCreate zeroed storage for T.
  15. replaceReplace destination and return its previous value.
  16. swapExchange the values at left and right.
  17. takeReplace destination with its default value and return its previous value.

Constants

  1. memoryCurrent memory binding family.