#[repr(C)]pub struct Value {
pub value: InternalValue,
}
Fields
value: InternalValue
Implementations
sourceimpl Value
impl Value
pub fn is_true(&self) -> bool
pub fn is_false(&self) -> bool
pub fn is_nil(&self) -> bool
pub fn is_node(&self) -> bool
pub fn is_undef(&self) -> bool
pub fn is_symbol(&self) -> bool
pub fn is_fixnum(&self) -> bool
pub fn is_flonum(&self) -> bool
pub fn is_frozen(&self) -> bool
pub fn ty(&self) -> ValueType
Trait Implementations
sourceimpl AsRef<Value> for AnyException
impl AsRef<Value> for AnyException
sourceimpl Borrow<Value> for AnyException
impl Borrow<Value> for AnyException
sourceimpl From<Value> for AnyException
impl From<Value> for AnyException
sourceimpl From<Value> for Enumerator
impl From<Value> for Enumerator
sourceimpl From<usize> for Value
impl From<usize> for Value
sourcefn from(internal_value: InternalValue) -> Self
fn from(internal_value: InternalValue) -> Self
Converts to this type from the input type.
sourceimpl Into<Value> for AnyException
impl Into<Value> for AnyException
sourceimpl Into<Value> for Enumerator
impl Into<Value> for Enumerator
impl Copy for Value
impl StructuralPartialEq for Value
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more