[][src]Struct oxygengine_script_flow::vm::Reference

pub struct Reference(pub Arc<RwLock<Value>>);

Implementations

impl Reference[src]

pub fn new(inner: Arc<RwLock<Value>>) -> Self[src]

pub fn value(value: Value) -> Self[src]

pub fn into_inner(self) -> Value[src]

pub fn read(&self) -> RwLockReadGuard<'_, Value>[src]

pub fn write(&mut self) -> RwLockWriteGuard<'_, Value>[src]

Methods from Deref<Target = Arc<RwLock<Value>>>

Trait Implementations

impl Clone for Reference[src]

impl Debug for Reference[src]

impl Deref for Reference[src]

type Target = Arc<RwLock<Value>>

The resulting type after dereferencing.

impl DerefMut for Reference[src]

impl Into<Reference> for Value[src]

impl PartialEq<Reference> for Reference[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Resource for T where
    T: Any, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,