pub struct Parameters<S>(pub Vec<(ParameterName<S>, Option<MaybeUtf8<S>>)>);
Expand description
Note: This struct includes the leading ’ ’
Tuple Fields§
§0: Vec<(ParameterName<S>, Option<MaybeUtf8<S>>)>
Implementations§
Source§impl<S> Parameters<S>
impl<S> Parameters<S>
Sourcepub fn parse_until<'a, 'b>(
term_with_sp_tab: &'b [u8],
) -> impl 'b + FnMut(&'a [u8]) -> IResult<&'a [u8], Parameters<S>>
pub fn parse_until<'a, 'b>( term_with_sp_tab: &'b [u8], ) -> impl 'b + FnMut(&'a [u8]) -> IResult<&'a [u8], Parameters<S>>
If term is the wanted terminator, then term_with_sp_tab = term + b“ \t“
Source§impl<S> Parameters<S>
impl<S> Parameters<S>
pub fn as_io_slices(&self) -> impl Iterator<Item = IoSlice<'_>>
Trait Implementations§
Source§impl<S: Clone> Clone for Parameters<S>
impl<S: Clone> Clone for Parameters<S>
Source§fn clone(&self) -> Parameters<S>
fn clone(&self) -> Parameters<S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<S: Debug> Debug for Parameters<S>
impl<S: Debug> Debug for Parameters<S>
Source§impl<S: PartialEq> PartialEq for Parameters<S>
impl<S: PartialEq> PartialEq for Parameters<S>
impl<S: Eq> Eq for Parameters<S>
impl<S> StructuralPartialEq for Parameters<S>
Auto Trait Implementations§
impl<S> Freeze for Parameters<S>
impl<S> RefUnwindSafe for Parameters<S>where
S: RefUnwindSafe,
impl<S> Send for Parameters<S>where
S: Send,
impl<S> Sync for Parameters<S>where
S: Sync,
impl<S> Unpin for Parameters<S>where
S: Unpin,
impl<S> UnwindSafe for Parameters<S>where
S: 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