pub enum NestedAttrTypeFrame<A> {
Reference(RefValue),
Value(AttributeType),
Array(A),
Null,
}
Expand description
This module includes structures for setting up the recursion crate. They
enable usage of expand_frames
and collapse_frames
functions for
NestedAttrType.
Variants§
Trait Implementations§
Source§impl MappableFrame for NestedAttrTypeFrame<PartiallyApplied>
impl MappableFrame for NestedAttrTypeFrame<PartiallyApplied>
Source§type Frame<X> = NestedAttrTypeFrame<X>
type Frame<X> = NestedAttrTypeFrame<X>
the frame type that is mapped over by
map_frame
Source§fn map_frame<A, B>(
input: <NestedAttrTypeFrame<PartiallyApplied> as MappableFrame>::Frame<A>,
f: impl FnMut(A) -> B,
) -> <NestedAttrTypeFrame<PartiallyApplied> as MappableFrame>::Frame<B>
fn map_frame<A, B>( input: <NestedAttrTypeFrame<PartiallyApplied> as MappableFrame>::Frame<A>, f: impl FnMut(A) -> B, ) -> <NestedAttrTypeFrame<PartiallyApplied> as MappableFrame>::Frame<B>
Apply some function
f
to each element inside a frameAuto Trait Implementations§
impl<A> Freeze for NestedAttrTypeFrame<A>where
A: Freeze,
impl<A> RefUnwindSafe for NestedAttrTypeFrame<A>where
A: RefUnwindSafe,
impl<A> Send for NestedAttrTypeFrame<A>where
A: Send,
impl<A> Sync for NestedAttrTypeFrame<A>where
A: Sync,
impl<A> Unpin for NestedAttrTypeFrame<A>where
A: Unpin,
impl<A> UnwindSafe for NestedAttrTypeFrame<A>where
A: 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