//!//! `Chain` trait describes any chain which can be constructed from `ParseStream`
//! with members of type `Member` and optional `Pat`.
//! `Unit` defines one unit of expression parsing.
//!usestd::cell::Ref;usesyn::parse::ParseStream;usesyn::Pat;modunit;pubuseunit::{Unit, UnitResult};pubtraitChain
where
Self: Sized,
{typeMember;fnnew(input: ParseStream,
other_pattern_check:Box<dyn Fn(ParseStream<'_>)->bool>,
)->syn::Result<Option<Self>>;fnget_members(&self)->Ref<'_, Vec<Self::Member>>;fnget_pat(&self)->Ref<'_, Option<Pat>>;}