neon::types::function

Trait TryIntoArguments

Source
pub trait TryIntoArguments<'cx>: TryIntoArgumentsInternal<'cx> { }
Expand description

The trait for specifying values to be converted into arguments for a function call. This trait is sealed and cannot be implemented by types outside of the Neon crate.

Note: This trait is implemented for tuples of up to 32 JavaScript values, but for the sake of brevity, only tuples up to size 8 are shown in this documentation.

Implementations on Foreign Types§

Source§

impl<'cx, T, E> TryIntoArguments<'cx> for Result<T, E>
where T: TryIntoArguments<'cx>, E: TryIntoJs<'cx>,

Source§

impl<'cx, V1: TryIntoJs<'cx> + 'cx> TryIntoArguments<'cx> for (V1,)

Source§

impl<'cx, V1: TryIntoJs<'cx> + 'cx, V2: TryIntoJs<'cx> + 'cx> TryIntoArguments<'cx> for (V1, V2)

Source§

impl<'cx, V1: TryIntoJs<'cx> + 'cx, V2: TryIntoJs<'cx> + 'cx, V3: TryIntoJs<'cx> + 'cx> TryIntoArguments<'cx> for (V1, V2, V3)

Source§

impl<'cx, V1: TryIntoJs<'cx> + 'cx, V2: TryIntoJs<'cx> + 'cx, V3: TryIntoJs<'cx> + 'cx, V4: TryIntoJs<'cx> + 'cx> TryIntoArguments<'cx> for (V1, V2, V3, V4)

Source§

impl<'cx, V1: TryIntoJs<'cx> + 'cx, V2: TryIntoJs<'cx> + 'cx, V3: TryIntoJs<'cx> + 'cx, V4: TryIntoJs<'cx> + 'cx, V5: TryIntoJs<'cx> + 'cx> TryIntoArguments<'cx> for (V1, V2, V3, V4, V5)

Source§

impl<'cx, V1: TryIntoJs<'cx> + 'cx, V2: TryIntoJs<'cx> + 'cx, V3: TryIntoJs<'cx> + 'cx, V4: TryIntoJs<'cx> + 'cx, V5: TryIntoJs<'cx> + 'cx, V6: TryIntoJs<'cx> + 'cx> TryIntoArguments<'cx> for (V1, V2, V3, V4, V5, V6)

Source§

impl<'cx, V1: TryIntoJs<'cx> + 'cx, V2: TryIntoJs<'cx> + 'cx, V3: TryIntoJs<'cx> + 'cx, V4: TryIntoJs<'cx> + 'cx, V5: TryIntoJs<'cx> + 'cx, V6: TryIntoJs<'cx> + 'cx, V7: TryIntoJs<'cx> + 'cx> TryIntoArguments<'cx> for (V1, V2, V3, V4, V5, V6, V7)

Source§

impl<'cx, V1: TryIntoJs<'cx> + 'cx, V2: TryIntoJs<'cx> + 'cx, V3: TryIntoJs<'cx> + 'cx, V4: TryIntoJs<'cx> + 'cx, V5: TryIntoJs<'cx> + 'cx, V6: TryIntoJs<'cx> + 'cx, V7: TryIntoJs<'cx> + 'cx, V8: TryIntoJs<'cx> + 'cx> TryIntoArguments<'cx> for (V1, V2, V3, V4, V5, V6, V7, V8)

Implementors§

Source§

impl<'cx, F, O> TryIntoArguments<'cx> for With<F, O>
where F: FnOnce(&mut Cx<'_>) -> O, O: TryIntoArguments<'cx>,