[][src]Struct lang_extension::any::ImmutableValue

pub struct ImmutableValue { /* fields omitted */ }

Methods

impl ImmutableValue[src]

pub fn new<T: Value>(value: T) -> ImmutableValue[src]

pub fn wrap(value: Box<dyn Value>) -> Self[src]

pub fn raw_boxed(&self) -> Box<dyn Value>[src]

Trait Implementations

impl Send for ImmutableValue[src]

impl Sync for ImmutableValue[src]

impl Clone for ImmutableValue[src]

impl Eq for ImmutableValue[src]

impl PartialEq<ImmutableValue> for ImmutableValue[src]

impl Debug for ImmutableValue[src]

impl StructuralPartialEq for ImmutableValue[src]

impl StructuralEq for ImmutableValue[src]

Auto Trait Implementations

Blanket Implementations

impl<T> AsAny for T where
    T: 'static, 
[src]

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

impl<T> ToDebugString for T where
    T: Debug + ?Sized
[src]

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

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

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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