pub struct NonEmptyVecF;Expand description
Type constructor for NonEmptyVec<T>.
Trait Implementations§
Source§impl Alt for NonEmptyVecF
Available on crate features alloc or std only.
impl Alt for NonEmptyVecF
Available on crate features
alloc or std only.fn alt<A>(fa1: NonEmptyVec<A>, fa2: NonEmptyVec<A>) -> NonEmptyVec<A>
Source§impl Applicative for NonEmptyVecF
Available on crate features alloc or std only.
impl Applicative for NonEmptyVecF
Available on crate features
alloc or std only.fn pure<A>(a: A) -> NonEmptyVec<A>
Source§impl Apply for NonEmptyVecF
Available on crate features alloc or std only.
impl Apply for NonEmptyVecF
Available on crate features
alloc or std only.fn ap<A, B, F>(ff: NonEmptyVec<F>, fa: NonEmptyVec<A>) -> NonEmptyVec<B>
Source§impl Chain for NonEmptyVecF
Available on crate features alloc or std only.
impl Chain for NonEmptyVecF
Available on crate features
alloc or std only.fn chain<A, B>( fa: NonEmptyVec<A>, f: impl Fn(A) -> NonEmptyVec<B>, ) -> NonEmptyVec<B>
Source§impl Comonad for NonEmptyVecF
Available on crate features alloc or std only.
impl Comonad for NonEmptyVecF
Available on crate features
alloc or std only.fn extract<A>(wa: &NonEmptyVec<A>) -> Awhere
A: Clone,
Source§impl Extend for NonEmptyVecF
Available on crate features alloc or std only.
impl Extend for NonEmptyVecF
Available on crate features
alloc or std only.Source§impl Foldable for NonEmptyVecF
Available on crate features alloc or std only.
impl Foldable for NonEmptyVecF
Available on crate features
alloc or std only.Source§impl Functor for NonEmptyVecF
Available on crate features alloc or std only.
impl Functor for NonEmptyVecF
Available on crate features
alloc or std only.fn fmap<A, B>(fa: NonEmptyVec<A>, f: impl Fn(A) -> B) -> NonEmptyVec<B>
Source§impl HKT for NonEmptyVecF
Available on crate features alloc or std only.
impl HKT for NonEmptyVecF
Available on crate features
alloc or std only.type Of<T> = NonEmptyVec<T>
Source§impl Invariant for NonEmptyVecF
Available on crate features alloc or std only.
impl Invariant for NonEmptyVecF
Available on crate features
alloc or std only.fn invmap<A, B>( fa: NonEmptyVec<A>, f: impl Fn(A) -> B, _g: impl Fn(B) -> A, ) -> NonEmptyVec<B>
Auto Trait Implementations§
impl Freeze for NonEmptyVecF
impl RefUnwindSafe for NonEmptyVecF
impl Send for NonEmptyVecF
impl Sync for NonEmptyVecF
impl Unpin for NonEmptyVecF
impl UnsafeUnpin for NonEmptyVecF
impl UnwindSafe for NonEmptyVecF
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