[−][src]Struct lang_extension::any::ImmutableValue
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]
fn clone(&self) -> ImmutableValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for ImmutableValue
[src]
impl PartialEq<ImmutableValue> for ImmutableValue
[src]
fn eq(&self, other: &ImmutableValue) -> bool
[src]
fn ne(&self, other: &ImmutableValue) -> bool
[src]
impl Debug for ImmutableValue
[src]
Auto Trait Implementations
impl Unpin for ImmutableValue
impl !UnwindSafe for ImmutableValue
impl !RefUnwindSafe for ImmutableValue
Blanket Implementations
impl<T> AsAny for T where
T: 'static,
[src]
T: 'static,
fn as_any_ref(&Self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut Self) -> &mut (dyn Any + 'static)
[src]
impl<T> AnyExtension for T where
T: ?Sized,
[src]
T: ?Sized,
fn type_name(&Self) -> &'static str
[src]
fn memory_address(&Self) -> usize
[src]
fn reference_equals(&Self, &(dyn Any + 'static)) -> bool
[src]
impl<T> ToDebugString for T where
T: Debug + ?Sized,
[src]
T: Debug + ?Sized,
fn to_debug_string(&Self) -> String
[src]
impl<T> ToInstanceString for T where
T: ?Sized,
[src]
T: ?Sized,
fn to_instance_string(&Self) -> String
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,