[−][src]Struct rusty_v8::scope::Scope
A RAII scope wrapper object that will, when the enter()
method is called,
initialize and activate the guarded object.
Methods
impl<'s, S> Scope<'s, S> where
S: Scoped<'s>,
[src]
S: Scoped<'s>,
pub fn enter(&'s mut self) -> &'s mut Entered<S>
[src]
Initializes the guarded object and returns a mutable reference to it. A scope can only be entered once.
Auto Trait Implementations
impl<'s, S> RefUnwindSafe for Scope<'s, S> where
S: RefUnwindSafe,
<S as Scoped<'s>>::Args: RefUnwindSafe,
S: RefUnwindSafe,
<S as Scoped<'s>>::Args: RefUnwindSafe,
impl<'s, S> Send for Scope<'s, S> where
S: Send,
<S as Scoped<'s>>::Args: Send,
S: Send,
<S as Scoped<'s>>::Args: Send,
impl<'s, S> Sync for Scope<'s, S> where
S: Sync,
<S as Scoped<'s>>::Args: Sync,
S: Sync,
<S as Scoped<'s>>::Args: Sync,
impl<'s, S> Unpin for Scope<'s, S> where
S: Unpin,
<S as Scoped<'s>>::Args: Unpin,
S: Unpin,
<S as Scoped<'s>>::Args: Unpin,
impl<'s, S> UnwindSafe for Scope<'s, S> where
S: UnwindSafe,
<S as Scoped<'s>>::Args: UnwindSafe,
S: UnwindSafe,
<S as Scoped<'s>>::Args: 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,
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.
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>,