pub struct MethodParamMap<'a> { /* private fields */ }Expand description
Param rows associated with a method signature by ECMA-335 Param.Sequence.
Implementations§
Source§impl<'a> MethodParamMap<'a>
impl<'a> MethodParamMap<'a>
Sourcepub fn return_param(&self) -> Option<MethodParam<'a>>
pub fn return_param(&self) -> Option<MethodParam<'a>>
Returns the Sequence == 0 return row, when present.
Sourcepub fn params(&self) -> &[Option<MethodParam<'a>>]
pub fn params(&self) -> &[Option<MethodParam<'a>>]
Returns one optional row for each signature parameter.
Trait Implementations§
Source§impl<'a> Clone for MethodParamMap<'a>
impl<'a> Clone for MethodParamMap<'a>
Source§fn clone(&self) -> MethodParamMap<'a>
fn clone(&self) -> MethodParamMap<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for MethodParamMap<'a>
impl<'a> RefUnwindSafe for MethodParamMap<'a>
impl<'a> Send for MethodParamMap<'a>
impl<'a> Sync for MethodParamMap<'a>
impl<'a> Unpin for MethodParamMap<'a>
impl<'a> UnsafeUnpin for MethodParamMap<'a>
impl<'a> UnwindSafe for MethodParamMap<'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