Enum ruschm::parser::pair::GenericPair [−][src]
pub enum GenericPair<T> { Some(T, T), Empty, }
Variants
Implementations
impl<T: Pairable> GenericPair<T>
[src]
impl<T: Pairable> GenericPair<T>
[src]pub fn pop(&mut self) -> Option<PairPopItem<T>>
[src]
pub fn pop_proper(&mut self) -> Result<Option<T>, SchemeError>
[src]
pub fn last_cdr(&self) -> Option<&T>
[src]
pub fn into_pair_iter(self) -> IntoPairIter<T>ⓘNotable traits for IntoPairIter<T>
impl<T: Pairable> Iterator for IntoPairIter<T> type Item = PairIterItem<T>;
[src]
Notable traits for IntoPairIter<T>
impl<T: Pairable> Iterator for IntoPairIter<T> type Item = PairIterItem<T>;
pub fn from_pair_iter<I: IntoIterator<Item = PairIterItem<T>>>(
iter: I
) -> Result<Self, SchemeError>
[src]
iter: I
) -> Result<Self, SchemeError>
pub fn len(&self) -> usize
[src]
pub fn iter(&self) -> Iter<'_, T>ⓘ
[src]
pub fn iter_mut(&mut self) -> IterMut<'_, T>ⓘ
[src]
pub fn cons(car: T, cdr: T) -> Self
[src]
pub fn map_ok<Target: Pairable>(
self,
f: &mut impl FnMut(T) -> Result<Target, SchemeError>
) -> Result<GenericPair<Target>, SchemeError>
[src]
self,
f: &mut impl FnMut(T) -> Result<Target, SchemeError>
) -> Result<GenericPair<Target>, SchemeError>
pub fn map_ok_ref<Target: Pairable>(
&self,
f: &mut impl FnMut(&T) -> Result<Target, SchemeError>
) -> Result<GenericPair<Target>, SchemeError>
[src]
&self,
f: &mut impl FnMut(&T) -> Result<Target, SchemeError>
) -> Result<GenericPair<Target>, SchemeError>
Trait Implementations
impl<T: Clone> Clone for GenericPair<T>
[src]
impl<T: Clone> Clone for GenericPair<T>
[src]fn clone(&self) -> GenericPair<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Default for GenericPair<T>
[src]
impl<T> Default for GenericPair<T>
[src]impl<T: Display + Pairable> Display for GenericPair<T>
[src]
impl<T: Display + Pairable> Display for GenericPair<T>
[src]impl From<GenericPair<Located<ParameterFormalsBody>>> for ParameterFormals
[src]
impl From<GenericPair<Located<ParameterFormalsBody>>> for ParameterFormals
[src]fn from(pair: GenericPair<ParameterFormals>) -> Self
[src]
impl From<GenericPair<Located<SyntaxPatternBody>>> for SyntaxPattern
[src]
impl From<GenericPair<Located<SyntaxPatternBody>>> for SyntaxPattern
[src]fn from(pair: GenericPair<SyntaxPattern>) -> Self
[src]
impl From<GenericPair<SyntaxTemplateElement>> for SyntaxTemplateElement
[src]
impl From<GenericPair<SyntaxTemplateElement>> for SyntaxTemplateElement
[src]fn from(pair: GenericPair<SyntaxTemplateElement>) -> Self
[src]
impl<T: Pairable> From<GenericPair<T>> for IntoPairIter<T>
[src]
impl<T: Pairable> From<GenericPair<T>> for IntoPairIter<T>
[src]fn from(pair: GenericPair<T>) -> Self
[src]
impl<R: RealNumberInternalTrait> From<GenericPair<Value<R>>> for Value<R>
[src]
impl<R: RealNumberInternalTrait> From<GenericPair<Value<R>>> for Value<R>
[src]impl<T: Pairable> FromIterator<T> for GenericPair<T>
[src]
impl<T: Pairable> FromIterator<T> for GenericPair<T>
[src]fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
[src]
impl<T: Pairable> IntoIterator for GenericPair<T>
[src]
impl<T: Pairable> IntoIterator for GenericPair<T>
[src]impl<T: PartialEq> PartialEq<GenericPair<T>> for GenericPair<T>
[src]
impl<T: PartialEq> PartialEq<GenericPair<T>> for GenericPair<T>
[src]fn eq(&self, other: &GenericPair<T>) -> bool
[src]
fn ne(&self, other: &GenericPair<T>) -> bool
[src]
impl<T> StructuralPartialEq for GenericPair<T>
[src]
impl<T> StructuralPartialEq for GenericPair<T>
[src]Auto Trait Implementations
impl<T> RefUnwindSafe for GenericPair<T> where
T: RefUnwindSafe,
impl<T> RefUnwindSafe for GenericPair<T> where
T: RefUnwindSafe,
impl<T> Send for GenericPair<T> where
T: Send,
impl<T> Send for GenericPair<T> where
T: Send,
impl<T> Sync for GenericPair<T> where
T: Sync,
impl<T> Sync for GenericPair<T> where
T: Sync,
impl<T> Unpin for GenericPair<T> where
T: Unpin,
impl<T> Unpin for GenericPair<T> where
T: Unpin,
impl<T> UnwindSafe for GenericPair<T> where
T: UnwindSafe,
impl<T> UnwindSafe for GenericPair<T> where
T: UnwindSafe,