pub struct Parameters<'a> {
pub span: &'a str,
pub params: Vec<ParameterSpecifier<'a>>,
}
Expand description
Represents a list of function parameters.
Fields§
§span: &'a str
The full span of the specifier.
params: Vec<ParameterSpecifier<'a>>
The parameters.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for Parameters<'a>
impl<'a> Clone for Parameters<'a>
Source§fn clone(&self) -> Parameters<'a>
fn clone(&self) -> Parameters<'a>
Returns a copy 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<'a> Debug for Parameters<'a>
impl<'a> Debug for Parameters<'a>
Source§impl<'a> Default for Parameters<'a>
impl<'a> Default for Parameters<'a>
Source§fn default() -> Parameters<'a>
fn default() -> Parameters<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> PartialEq for Parameters<'a>
impl<'a> PartialEq for Parameters<'a>
Source§impl<'a> TryFrom<&'a str> for Parameters<'a>
impl<'a> TryFrom<&'a str> for Parameters<'a>
impl<'a> Eq for Parameters<'a>
impl<'a> StructuralPartialEq for Parameters<'a>
Auto Trait Implementations§
impl<'a> Freeze for Parameters<'a>
impl<'a> RefUnwindSafe for Parameters<'a>
impl<'a> Send for Parameters<'a>
impl<'a> Sync for Parameters<'a>
impl<'a> Unpin for Parameters<'a>
impl<'a> UnwindSafe for Parameters<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)