struct IterRef
Declaration
struct IterRef { /* full declaration omitted */ };
Description
An iterator's refcount on the owning collection, preventig mutation while the iterator is alive.
Declared at: sus/iter/iterator_ref.h:34
Method Overview
- public constexpr IterRef(sus::num::usize * ptr) noexcept
- public constexpr IterRef(const sus::iter::IterRef & rhs) noexcept
- public constexpr IterRef(sus::iter::IterRef && rhs) noexcept
- public constexpr sus::iter::IterRefCounter to_view() const noexcept
- public constexpr ~IterRef() noexcept
Methods
¶constexpr IterRef(sus::num::usize* ptr) noexcept
constexpr IterRef(sus::num::usize* ptr) noexcept
Declared at: sus/iter/iterator_ref.h:35
Parameters
- sus::num::usize* ptr
¶constexpr IterRef(
const sus::iter::IterRef& rhs) noexcept
constexpr IterRef(
const sus::iter::IterRef& rhs) noexcept
Declared at: sus/iter/iterator_ref.h:37
Parameters
- const sus::iter::IterRef& rhs
¶constexpr IterRef(
sus::iter::IterRef&& rhs) noexcept
constexpr IterRef(
sus::iter::IterRef&& rhs) noexcept
Declared at: sus/iter/iterator_ref.h:46
Parameters
- sus::iter::IterRef&& rhs
¶constexpr sus::iter::IterRefCounter to_view()
const noexcept
constexpr sus::iter::IterRefCounter to_view()
const noexcept
Declared at: sus/iter/iterator_ref.h:55
¶constexpr ~IterRef() noexcept
constexpr ~IterRef() noexcept
Declared at: sus/iter/iterator_ref.h:36