pub struct LangChain<L, Next> { /* private fields */ }Expand description
Compile-time linked chain of LangCut extensions (zero dyn, zero allocation).
Implementations§
Trait Implementations§
impl<L: Copy, Next: Copy> Copy for LangChain<L, Next>
Source§impl<L: LangCut, Next: LangPack> LangPack for LangChain<L, Next>
impl<L: LangCut, Next: LangPack> LangPack for LangChain<L, Next>
Source§fn matches_any(&self, ch: char) -> bool
fn matches_any(&self, ch: char) -> bool
Returns
true if any registered language claims ch.Auto Trait Implementations§
impl<L, Next> Forget for LangChain<L, Next>
impl<L, Next> Freeze for LangChain<L, Next>
impl<L, Next> Move for LangChain<L, Next>
impl<L, Next> RefUnwindSafe for LangChain<L, Next>where
L: RefUnwindSafe,
Next: RefUnwindSafe,
impl<L, Next> Send for LangChain<L, Next>
impl<L, Next> Sync for LangChain<L, Next>
impl<L, Next> Unpin for LangChain<L, Next>
impl<L, Next> UnsafeUnpin for LangChain<L, Next>where
L: UnsafeUnpin,
Next: UnsafeUnpin,
impl<L, Next> UnwindSafe for LangChain<L, Next>where
L: UnwindSafe,
Next: 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