pub struct ParamsAccessor<'a, 'js> { /* private fields */ }
Expand description
Accessor to parameters used for retrieving arguments in order one at the time.
Implementations§
Source§impl<'a, 'js> ParamsAccessor<'a, 'js>
impl<'a, 'js> ParamsAccessor<'a, 'js>
Sourcepub fn function(&self) -> Value<'js>
pub fn function(&self) -> Value<'js>
Returns the value on which this function called. i.e. in bla.foo()
the foo
value.
Auto Trait Implementations§
impl<'a, 'js> Freeze for ParamsAccessor<'a, 'js>
impl<'a, 'js> RefUnwindSafe for ParamsAccessor<'a, 'js>
impl<'a, 'js> !Send for ParamsAccessor<'a, 'js>
impl<'a, 'js> !Sync for ParamsAccessor<'a, 'js>
impl<'a, 'js> Unpin for ParamsAccessor<'a, 'js>
impl<'a, 'js> !UnwindSafe for ParamsAccessor<'a, 'js>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more