[−][src]Struct nommy::surrounded::SurroundedBy
SurroundedBy implements Parse, first parsing Prefix
, then parsing P
, finally parsing Suffix
.
Fields
prefix: Prefix
parsed: P
suffix: Suffix
Trait Implementations
impl<Prefix: Clone, P: Clone, Suffix: Clone> Clone for SurroundedBy<Prefix, P, Suffix>
[src]
fn clone(&self) -> SurroundedBy<Prefix, P, Suffix>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Prefix: Debug, P: Debug, Suffix: Debug> Debug for SurroundedBy<Prefix, P, Suffix>
[src]
impl<Prefix: Parse<T>, P: Parse<T>, Suffix: Parse<T>, T> Parse<T> for SurroundedBy<Prefix, P, Suffix>
[src]
Define Parse for SurroundedBy
. Parse Prefix then parse P
type Error = SurroundedByParseError<Prefix::Error, P::Error, Suffix::Error>
fn parse(
input: &mut Buffer<impl Iterator<Item = T>>
) -> Result<Self, Self::Error>
[src]
input: &mut Buffer<impl Iterator<Item = T>>
) -> Result<Self, Self::Error>
impl<Prefix: PartialEq, P: PartialEq, Suffix: PartialEq> PartialEq<SurroundedBy<Prefix, P, Suffix>> for SurroundedBy<Prefix, P, Suffix>
[src]
fn eq(&self, other: &SurroundedBy<Prefix, P, Suffix>) -> bool
[src]
fn ne(&self, other: &SurroundedBy<Prefix, P, Suffix>) -> bool
[src]
impl<Prefix: Peek<T>, P: Peek<T>, Suffix: Peek<T>, T> Peek<T> for SurroundedBy<Prefix, P, Suffix>
[src]
impl<Prefix, P: Process, Suffix> Process for SurroundedBy<Prefix, P, Suffix>
[src]
impl<Prefix, P, Suffix> StructuralPartialEq for SurroundedBy<Prefix, P, Suffix>
[src]
Auto Trait Implementations
impl<Prefix, P, Suffix> RefUnwindSafe for SurroundedBy<Prefix, P, Suffix> where
P: RefUnwindSafe,
Prefix: RefUnwindSafe,
Suffix: RefUnwindSafe,
[src]
P: RefUnwindSafe,
Prefix: RefUnwindSafe,
Suffix: RefUnwindSafe,
impl<Prefix, P, Suffix> Send for SurroundedBy<Prefix, P, Suffix> where
P: Send,
Prefix: Send,
Suffix: Send,
[src]
P: Send,
Prefix: Send,
Suffix: Send,
impl<Prefix, P, Suffix> Sync for SurroundedBy<Prefix, P, Suffix> where
P: Sync,
Prefix: Sync,
Suffix: Sync,
[src]
P: Sync,
Prefix: Sync,
Suffix: Sync,
impl<Prefix, P, Suffix> Unpin for SurroundedBy<Prefix, P, Suffix> where
P: Unpin,
Prefix: Unpin,
Suffix: Unpin,
[src]
P: Unpin,
Prefix: Unpin,
Suffix: Unpin,
impl<Prefix, P, Suffix> UnwindSafe for SurroundedBy<Prefix, P, Suffix> where
P: UnwindSafe,
Prefix: UnwindSafe,
Suffix: UnwindSafe,
[src]
P: UnwindSafe,
Prefix: UnwindSafe,
Suffix: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,