Struct microkelvin::MappedBranch
source · [−]pub struct MappedBranch<'a, C, A, I, M> where
C: Compound<A, I>,
C::Leaf: Archive,
M: 'a, { /* private fields */ }
Expand description
A branch that applies a map to its leaf
Implementations
sourceimpl<'a, C, A, I, M> MappedBranch<'a, C, A, I, M> where
C: Compound<A, I>,
C::Archived: ArchivedCompound<C, A, I>,
C::Leaf: Archive,
impl<'a, C, A, I, M> MappedBranch<'a, C, A, I, M> where
C: Compound<A, I>,
C::Archived: ArchivedCompound<C, A, I>,
C::Leaf: Archive,
Trait Implementations
sourceimpl<'a, C, A, T, I> BranchRef<'a, T> for MappedBranch<'a, C, A, I, MaybeArchived<'a, T>> where
C: Compound<A, I>,
C::Archived: ArchivedCompound<C, A, I>,
T: Archive,
impl<'a, C, A, T, I> BranchRef<'a, T> for MappedBranch<'a, C, A, I, MaybeArchived<'a, T>> where
C: Compound<A, I>,
C::Archived: ArchivedCompound<C, A, I>,
T: Archive,
sourcefn leaf(&self) -> MaybeArchived<'_, T>
fn leaf(&self) -> MaybeArchived<'_, T>
Provides a reference to the leaf of the branch
sourceimpl<'a, C, A, I, M> IntoIterator for MappedBranch<'a, C, A, I, M> where
C: Compound<A, I>,
C::Archived: ArchivedCompound<C, A, I> + for<'any> CheckBytes<DefaultValidator<'any>>,
C::Leaf: 'a + Archive,
A: Annotation<C::Leaf>,
M: 'a + Archive,
impl<'a, C, A, I, M> IntoIterator for MappedBranch<'a, C, A, I, M> where
C: Compound<A, I>,
C::Archived: ArchivedCompound<C, A, I> + for<'any> CheckBytes<DefaultValidator<'any>>,
C::Leaf: 'a + Archive,
A: Annotation<C::Leaf>,
M: 'a + Archive,
Auto Trait Implementations
impl<'a, C, A, I, M> !RefUnwindSafe for MappedBranch<'a, C, A, I, M>
impl<'a, C, A, I, M> !Send for MappedBranch<'a, C, A, I, M>
impl<'a, C, A, I, M> !Sync for MappedBranch<'a, C, A, I, M>
impl<'a, C, A, I, M> Unpin for MappedBranch<'a, C, A, I, M> where
A: Unpin,
I: Unpin,
impl<'a, C, A, I, M> !UnwindSafe for MappedBranch<'a, C, A, I, M>
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more