pub struct ExternObjectNsWithState<'h, S: State> { /* private fields */ }
Implementations§
Source§impl<'h, S: State> ExternObjectNsWithState<'h, S>
impl<'h, S: State> ExternObjectNsWithState<'h, S>
pub fn value<T>( self, value: T, ) -> ExternObjectNsWithState<'h, S::ValueInit<T, T::TypeMarker>>
Source§impl<'h> ExternObjectNsWithState<'h, StateContainer<Uninit>>
impl<'h> ExternObjectNsWithState<'h, StateContainer<Uninit>>
pub fn call_fn(self) -> ExternObject
Source§impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, AnyMarker>>>
impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, AnyMarker>>>
Source§impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, BigIntMarker>>>
impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, BigIntMarker>>>
pub fn call_fn(self) -> ExternBigInt
Source§impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, BooleanMarker>>>
impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, BooleanMarker>>>
pub fn call_fn(self) -> ExternBoolean
Source§impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, NumberMarker>>>
impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, NumberMarker>>>
Source§impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, ObjectMarker>>>
impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, ObjectMarker>>>
Source§impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, StringMarker>>>
impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, StringMarker>>>
Source§impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, SymbolMarker>>>
impl<'h, Value: Slot<ValueSlot<'h>>> ExternObjectNsWithState<'h, StateContainer<Init<Value, SymbolMarker>>>
Methods from Deref<Target = ExternAny>§
pub fn as_js_value(&self) -> &JsValue
pub fn do_typeof(&self) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'h, S> !Freeze for ExternObjectNsWithState<'h, S>
impl<'h, S> !RefUnwindSafe for ExternObjectNsWithState<'h, S>
impl<'h, S> !Send for ExternObjectNsWithState<'h, S>
impl<'h, S> !Sync for ExternObjectNsWithState<'h, S>
impl<'h, S> Unpin for ExternObjectNsWithState<'h, S>
impl<'h, S> UnwindSafe for ExternObjectNsWithState<'h, S>
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