Struct rquickjs_core::WithProto [−][src]
This is supported on crate feature
classes
only.The prototype setting wrapper
This wrapper helps instantiate a class with desired prototype which is quite useful with constructors because allows class to be inheritable.
Trait Implementations
Auto Trait Implementations
impl<'js, C> !RefUnwindSafe for WithProto<'js, C>
[src]
impl<'js, C> !Send for WithProto<'js, C>
[src]
impl<'js, C> !Sync for WithProto<'js, C>
[src]
impl<'js, C> Unpin for WithProto<'js, C> where
C: Unpin,
[src]
C: Unpin,
impl<'js, C> UnwindSafe for WithProto<'js, C> where
C: UnwindSafe,
[src]
C: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,