Struct artichoke_backend::value::Value [−][src]
Boxed Ruby value in the Artichoke
interpreter.
Implementations
impl Value
[src]
#[must_use]pub fn new() -> Self
[src]
Create a new, empty Ruby value.
Alias for Value::default
.
#[must_use]pub fn nil() -> Self
[src]
Create a nil
Ruby Value.
#[must_use]pub const fn inner(&self) -> mrb_value
[src]
The sys::mrb_value
that this Value
wraps.
#[must_use]pub fn is_unreachable(&self) -> bool
[src]
Whether a value is an interpreter-only variant not exposed to Ruby.
Some type tags like MRB_TT_UNDEF
are
internal to the mruby VM and manipulating them with the sys
API is
unspecified and may result in a segfault.
After extracting a sys::mrb_value
from the interpreter, check to see
if the value is unreachable a Fatal
exception.
See: mruby#4460.
#[must_use]pub fn is_dead(&self, interp: &mut Artichoke) -> bool
[src]
Return whether this object is unreachable by any GC roots.
pub fn is_range(
&self,
interp: &mut Artichoke,
len: Int
) -> Result<Option<Range>, Error>
[src]
&self,
interp: &mut Artichoke,
len: Int
) -> Result<Option<Range>, Error>
Trait Implementations
impl Clone for Value
[src]
impl Convert<Integer, Value> for Artichoke
[src]
impl Convert<Option<Value>, Value> for Artichoke
[src]
impl Convert<Option<bool>, Value> for Artichoke
[src]
impl Convert<Option<i64>, Value> for Artichoke
[src]
impl Convert<Value, Option<Value>> for Artichoke
[src]
impl Convert<Value, Value> for Artichoke
[src]
impl Convert<bool, Value> for Artichoke
[src]
impl Convert<i16, Value> for Artichoke
[src]
impl Convert<i32, Value> for Artichoke
[src]
impl Convert<i64, Value> for Artichoke
[src]
Converter for Artichoke native integer type.
The Int
type alias must be i64
.
assert_eq!(mem::size_of::<i64>(), mem::size_of::<Int>()); assert_eq!(i64::MIN, Int::MIN); assert_eq!(i64::MAX, Int::MAX); assert_eq!(TypeId::of::<i64>(), TypeId::of::<Int>());
impl Convert<i8, Value> for Artichoke
[src]
impl Convert<u16, Value> for Artichoke
[src]
impl Convert<u32, Value> for Artichoke
[src]
impl Convert<u8, Value> for Artichoke
[src]
impl ConvertMut<&'_ [u8], Value> for Artichoke
[src]
impl ConvertMut<&'_ str, Value> for Artichoke
[src]
fn convert_mut(&mut self, value: &str) -> Value
[src]
impl<'a> ConvertMut<Cow<'a, [u8]>, Value> for Artichoke
[src]
impl<'a> ConvertMut<Cow<'a, str>, Value> for Artichoke
[src]
fn convert_mut(&mut self, value: Cow<'a, str>) -> Value
[src]
impl ConvertMut<Float, Value> for Artichoke
[src]
fn convert_mut(&mut self, from: Float) -> Value
[src]
impl ConvertMut<HashMap<Vec<u8, Global>, Vec<u8, Global>, RandomState>, Value> for Artichoke
[src]
impl ConvertMut<Option<&'_ [u8]>, Value> for Artichoke
[src]
impl ConvertMut<Option<&'_ str>, Value> for Artichoke
[src]
fn convert_mut(&mut self, value: Option<&str>) -> Value
[src]
impl ConvertMut<Option<HashMap<Vec<u8, Global>, Option<Vec<u8, Global>>, RandomState>>, Value> for Artichoke
[src]
impl ConvertMut<Option<String>, Value> for Artichoke
[src]
fn convert_mut(&mut self, value: Option<String>) -> Value
[src]
impl ConvertMut<Option<Vec<u8, Global>>, Value> for Artichoke
[src]
impl ConvertMut<Outcome, Value> for Artichoke
[src]
fn convert_mut(&mut self, from: Outcome) -> Value
[src]
impl ConvertMut<Rand, Value> for Artichoke
[src]
fn convert_mut(&mut self, from: Rand) -> Value
[src]
impl ConvertMut<Rand, Value> for Artichoke
[src]
fn convert_mut(&mut self, from: Rand) -> Value
[src]
impl ConvertMut<String, Value> for Artichoke
[src]
fn convert_mut(&mut self, value: String) -> Value
[src]
impl ConvertMut<Value, Options> for Artichoke
[src]
fn convert_mut(&mut self, value: Value) -> Options
[src]
impl ConvertMut<Value, Value> for Artichoke
[src]
fn convert_mut(&mut self, value: Value) -> Value
[src]
impl ConvertMut<Vec<(Value, Value), Global>, Value> for Artichoke
[src]
impl ConvertMut<Vec<u8, Global>, Value> for Artichoke
[src]
fn convert_mut(&mut self, value: Vec<u8>) -> Value
[src]
impl ConvertMut<f64, Value> for Artichoke
[src]
fn convert_mut(&mut self, value: Fp) -> Value
[src]
impl Copy for Value
[src]
impl Debug for Value
[src]
impl Default for Value
[src]
impl Extend<Value> for Array
[src]
fn extend<T>(&mut self, iter: T) where
T: IntoIterator<Item = Value>,
[src]
T: IntoIterator<Item = Value>,
pub fn extend_one(&mut self, item: A)
[src]
pub fn extend_reserve(&mut self, additional: usize)
[src]
impl From<Option<Value>> for Value
[src]
impl From<Option<mrb_value>> for Value
[src]
impl From<Value> for NoBlockGiven
[src]
impl From<mrb_value> for Value
[src]
fn from(value: mrb_value) -> Self
[src]
Construct a new Value
from a sys::mrb_value
.
impl FromIterator<Value> for Array
[src]
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = Value>,
[src]
I: IntoIterator<Item = Value>,
impl PartialEq<Value> for Value
[src]
impl TryConvert<Value, Float> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert(&self, value: Value) -> Result<Float, Self::Error>
[src]
impl TryConvert<Value, Integer> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert(&self, value: Value) -> Result<Integer, Self::Error>
[src]
impl TryConvert<Value, Option<bool>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert(&self, value: Value) -> Result<Option<bool>, Self::Error>
[src]
impl TryConvert<Value, Option<i64>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert(&self, value: Value) -> Result<Option<Int>, Self::Error>
[src]
impl TryConvert<Value, bool> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert(&self, value: Value) -> Result<bool, Self::Error>
[src]
impl TryConvert<Value, f64> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert(&self, value: Value) -> Result<Fp, Self::Error>
[src]
impl TryConvert<Value, i64> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert(&self, value: Value) -> Result<Int, Self::Error>
[src]
impl TryConvert<Value, u32> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert(&self, value: Value) -> Result<u32, Self::Error>
[src]
impl TryConvert<Value, usize> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert(&self, value: Value) -> Result<usize, Self::Error>
[src]
impl TryConvert<isize, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert(&self, value: isize) -> Result<Value, Self::Error>
[src]
impl TryConvert<u64, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert(&self, value: u64) -> Result<Value, Self::Error>
[src]
impl TryConvert<usize, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert(&self, value: usize) -> Result<Value, Self::Error>
[src]
impl TryConvertMut<&'_ [&'_ [u8]], Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: &[&[u8]]) -> Result<Value, Self::Error>
[src]
impl TryConvertMut<&'_ [&'_ str], Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: &[&str]) -> Result<Value, Self::Error>
[src]
impl TryConvertMut<&'_ [Option<&'_ [u8]>], Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: &[Option<&[u8]>]
) -> Result<Value, Self::Error>
[src]
&mut self,
value: &[Option<&[u8]>]
) -> Result<Value, Self::Error>
impl TryConvertMut<&'_ [Option<&'_ str>], Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: &[Option<&str>]
) -> Result<Value, Self::Error>
[src]
&mut self,
value: &[Option<&str>]
) -> Result<Value, Self::Error>
impl TryConvertMut<&'_ [Option<Value>], Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: &[Option<Value>]
) -> Result<Value, Self::Error>
[src]
&mut self,
value: &[Option<Value>]
) -> Result<Value, Self::Error>
impl TryConvertMut<&'_ [Option<Vec<u8, Global>>], Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: &[Option<Vec<u8>>]
) -> Result<Value, Self::Error>
[src]
&mut self,
value: &[Option<Vec<u8>>]
) -> Result<Value, Self::Error>
impl TryConvertMut<&'_ [String], Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: &[String]) -> Result<Value, Self::Error>
[src]
impl TryConvertMut<&'_ [Value], Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: &[Value]) -> Result<Value, Self::Error>
[src]
impl TryConvertMut<&'_ [Vec<u8, Global>], Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: &[Vec<u8>]) -> Result<Value, Self::Error>
[src]
impl TryConvertMut<&'_ [i64], Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: &[Int]) -> Result<Value, Self::Error>
[src]
impl TryConvertMut<&'_ OsStr, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: &OsStr) -> Result<Value, Self::Error>
[src]
impl<'a> TryConvertMut<&'a mut Value, CaptureExtract<'a>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: &'a mut Value
) -> Result<CaptureExtract<'a>, Self::Error>
[src]
&mut self,
value: &'a mut Value
) -> Result<CaptureExtract<'a>, Self::Error>
impl<'a> TryConvertMut<&'a mut Value, IntegerString<'a>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: &'a mut Value
) -> Result<IntegerString<'a>, Self::Error>
[src]
&mut self,
value: &'a mut Value
) -> Result<IntegerString<'a>, Self::Error>
impl TryConvertMut<CaptureMatch, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: CaptureMatch) -> Result<Value, Self::Error>
[src]
impl<'a> TryConvertMut<Cow<'a, OsStr>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Cow<'a, OsStr>
) -> Result<Value, Self::Error>
[src]
&mut self,
value: Cow<'a, OsStr>
) -> Result<Value, Self::Error>
impl TryConvertMut<OsString, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: OsString) -> Result<Value, Self::Error>
[src]
impl<'a> TryConvertMut<Value, &'a [u8]> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Value) -> Result<&'a [u8], Self::Error>
[src]
impl<'a> TryConvertMut<Value, &'a str> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Value) -> Result<&'a str, Self::Error>
[src]
impl TryConvertMut<Value, Encoding> for Artichoke
[src]
type Error = InvalidEncodingError
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Value) -> Result<Encoding, Self::Error>
[src]
impl TryConvertMut<Value, Max> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, max: Value) -> Result<Max, Self::Error>
[src]
impl TryConvertMut<Value, Max> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, max: Value) -> Result<Max, Self::Error>
[src]
impl<'a> TryConvertMut<Value, Option<&'a [u8]>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Value
) -> Result<Option<&'a [u8]>, Self::Error>
[src]
&mut self,
value: Value
) -> Result<Option<&'a [u8]>, Self::Error>
impl<'a> TryConvertMut<Value, Option<&'a str>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Value
) -> Result<Option<&'a str>, Self::Error>
[src]
&mut self,
value: Value
) -> Result<Option<&'a str>, Self::Error>
impl TryConvertMut<Value, Option<String>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Value
) -> Result<Option<String>, Self::Error>
[src]
&mut self,
value: Value
) -> Result<Option<String>, Self::Error>
impl TryConvertMut<Value, Option<Vec<u8, Global>>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Value
) -> Result<Option<Vec<u8>>, Self::Error>
[src]
&mut self,
value: Value
) -> Result<Option<Vec<u8>>, Self::Error>
impl TryConvertMut<Value, Seed> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Value) -> Result<Seed, Self::Error>
[src]
impl TryConvertMut<Value, String> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Value) -> Result<String, Self::Error>
[src]
impl<'a> TryConvertMut<Value, Vec<&'a [u8], Global>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Value
) -> Result<Vec<&'a [u8]>, Self::Error>
[src]
&mut self,
value: Value
) -> Result<Vec<&'a [u8]>, Self::Error>
impl<'a> TryConvertMut<Value, Vec<&'a str, Global>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Value) -> Result<Vec<&'a str>, Self::Error>
[src]
impl TryConvertMut<Value, Vec<(Value, Value), Global>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Value
) -> Result<Vec<(Value, Value)>, Self::Error>
[src]
&mut self,
value: Value
) -> Result<Vec<(Value, Value)>, Self::Error>
impl<'a> TryConvertMut<Value, Vec<Option<&'a [u8]>, Global>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Value
) -> Result<Vec<Option<&'a [u8]>>, Self::Error>
[src]
&mut self,
value: Value
) -> Result<Vec<Option<&'a [u8]>>, Self::Error>
impl<'a> TryConvertMut<Value, Vec<Option<&'a str>, Global>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Value
) -> Result<Vec<Option<&'a str>>, Self::Error>
[src]
&mut self,
value: Value
) -> Result<Vec<Option<&'a str>>, Self::Error>
impl TryConvertMut<Value, Vec<Option<String>, Global>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Value
) -> Result<Vec<Option<String>>, Self::Error>
[src]
&mut self,
value: Value
) -> Result<Vec<Option<String>>, Self::Error>
impl TryConvertMut<Value, Vec<Option<Vec<u8, Global>>, Global>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Value
) -> Result<Vec<Option<Vec<u8>>>, Self::Error>
[src]
&mut self,
value: Value
) -> Result<Vec<Option<Vec<u8>>>, Self::Error>
impl TryConvertMut<Value, Vec<String, Global>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Value) -> Result<Vec<String>, Self::Error>
[src]
impl TryConvertMut<Value, Vec<Value, Global>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Value) -> Result<Vec<Value>, Self::Error>
[src]
impl TryConvertMut<Value, Vec<Vec<u8, Global>, Global>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Value) -> Result<Vec<Vec<u8>>, Self::Error>
[src]
impl TryConvertMut<Value, Vec<i64, Global>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Value) -> Result<Vec<Int>, Self::Error>
[src]
impl TryConvertMut<Value, Vec<u8, Global>> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Value) -> Result<Vec<u8>, Self::Error>
[src]
impl TryConvertMut<Vec<&'_ [u8], Global>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Vec<&[u8]>) -> Result<Value, Self::Error>
[src]
impl TryConvertMut<Vec<&'_ str, Global>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Vec<&str>) -> Result<Value, Self::Error>
[src]
impl TryConvertMut<Vec<(Vec<u8, Global>, Vec<i64, Global>), Global>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Vec<(Vec<u8>, Vec<Int>)>
) -> Result<Value, Self::Error>
[src]
&mut self,
value: Vec<(Vec<u8>, Vec<Int>)>
) -> Result<Value, Self::Error>
impl TryConvertMut<Vec<Option<&'_ [u8]>, Global>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Vec<Option<&[u8]>>
) -> Result<Value, Self::Error>
[src]
&mut self,
value: Vec<Option<&[u8]>>
) -> Result<Value, Self::Error>
impl TryConvertMut<Vec<Option<&'_ str>, Global>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Vec<Option<&str>>
) -> Result<Value, Self::Error>
[src]
&mut self,
value: Vec<Option<&str>>
) -> Result<Value, Self::Error>
impl TryConvertMut<Vec<Option<Vec<u8, Global>>, Global>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Vec<Option<Vec<u8>>>
) -> Result<Value, Self::Error>
[src]
&mut self,
value: Vec<Option<Vec<u8>>>
) -> Result<Value, Self::Error>
impl TryConvertMut<Vec<String, Global>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Vec<String>) -> Result<Value, Self::Error>
[src]
impl TryConvertMut<Vec<Value, Global>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Vec<Value>) -> Result<Value, Self::Error>
[src]
impl TryConvertMut<Vec<Vec<Option<&'_ [u8]>, Global>, Global>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Vec<Vec<Option<&[u8]>>>
) -> Result<Value, Self::Error>
[src]
&mut self,
value: Vec<Vec<Option<&[u8]>>>
) -> Result<Value, Self::Error>
impl TryConvertMut<Vec<Vec<Option<&'_ str>, Global>, Global>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Vec<Vec<Option<&str>>>
) -> Result<Value, Self::Error>
[src]
&mut self,
value: Vec<Vec<Option<&str>>>
) -> Result<Value, Self::Error>
impl TryConvertMut<Vec<Vec<Option<Vec<u8, Global>>, Global>, Global>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(
&mut self,
value: Vec<Vec<Option<Vec<u8>>>>
) -> Result<Value, Self::Error>
[src]
&mut self,
value: Vec<Vec<Option<Vec<u8>>>>
) -> Result<Value, Self::Error>
impl TryConvertMut<Vec<Vec<u8, Global>, Global>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Vec<Vec<u8>>) -> Result<Value, Self::Error>
[src]
impl TryConvertMut<Vec<i64, Global>, Value> for Artichoke
[src]
type Error = Error
Error type for failed conversions.
fn try_convert_mut(&mut self, value: Vec<Int>) -> Result<Value, Self::Error>
[src]
impl Value for Value
[src]
type Artichoke = Artichoke
Concrete type for Artichoke interpreter.
type Arg = Self
Concrete type for arguments passed to funcall
.
type Value = Self
Concrete type for results from funcall
.
type Block = Self
Concrete type for blocks passed to funcall
.
type Error = Error
Concrete error type for funcall errors.
fn funcall(
&self,
interp: &mut Self::Artichoke,
func: &str,
args: &[Self::Arg],
block: Option<Self::Block>
) -> Result<Self::Value, Self::Error>
[src]
&self,
interp: &mut Self::Artichoke,
func: &str,
args: &[Self::Arg],
block: Option<Self::Block>
) -> Result<Self::Value, Self::Error>
fn freeze(&mut self, interp: &mut Self::Artichoke) -> Result<(), Self::Error>
[src]
fn is_frozen(&self, interp: &mut Self::Artichoke) -> bool
[src]
fn inspect(&self, interp: &mut Self::Artichoke) -> Vec<u8>
[src]
fn is_nil(&self) -> bool
[src]
fn respond_to(
&self,
interp: &mut Self::Artichoke,
method: &str
) -> Result<bool, Self::Error>
[src]
&self,
interp: &mut Self::Artichoke,
method: &str
) -> Result<bool, Self::Error>
fn to_s(&self, interp: &mut Self::Artichoke) -> Vec<u8>
[src]
fn ruby_type(&self) -> Ruby
[src]
pub fn try_into<T>(self, interp: &Self::Artichoke) -> Result<T, Self::Error> where
Self::Artichoke: TryConvert<Self, T>,
<Self::Artichoke as TryConvert<Self, T>>::Error == Self::Error,
[src]
Self::Artichoke: TryConvert<Self, T>,
<Self::Artichoke as TryConvert<Self, T>>::Error == Self::Error,
pub fn try_into_mut<T>(
self,
interp: &mut Self::Artichoke
) -> Result<T, Self::Error> where
Self::Artichoke: TryConvertMut<Self, T>,
<Self::Artichoke as TryConvertMut<Self, T>>::Error == Self::Error,
[src]
self,
interp: &mut Self::Artichoke
) -> Result<T, Self::Error> where
Self::Artichoke: TryConvertMut<Self, T>,
<Self::Artichoke as TryConvertMut<Self, T>>::Error == Self::Error,
Auto Trait Implementations
impl RefUnwindSafe for Value
impl !Send for Value
impl !Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,