pub struct ParameterList(/* private fields */);Expand description
Function parameter list metadata.
Implementations§
Source§impl ParameterList
impl ParameterList
Sourcepub fn new(values: Vec<FunctionValueType>) -> Self
pub fn new(values: Vec<FunctionValueType>) -> Self
Creates a parameter list from value type labels.
Sourcepub fn as_slice(&self) -> &[FunctionValueType]
pub fn as_slice(&self) -> &[FunctionValueType]
Returns the parameter list as a slice.
Trait Implementations§
Source§impl Clone for ParameterList
impl Clone for ParameterList
Source§fn clone(&self) -> ParameterList
fn clone(&self) -> ParameterList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParameterList
impl Debug for ParameterList
Source§impl Default for ParameterList
impl Default for ParameterList
Source§fn default() -> ParameterList
fn default() -> ParameterList
Returns the “default value” for a type. Read more
Source§impl Hash for ParameterList
impl Hash for ParameterList
Source§impl PartialEq for ParameterList
impl PartialEq for ParameterList
Source§fn eq(&self, other: &ParameterList) -> bool
fn eq(&self, other: &ParameterList) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ParameterList
impl StructuralPartialEq for ParameterList
Auto Trait Implementations§
impl Freeze for ParameterList
impl RefUnwindSafe for ParameterList
impl Send for ParameterList
impl Sync for ParameterList
impl Unpin for ParameterList
impl UnsafeUnpin for ParameterList
impl UnwindSafe for ParameterList
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